fix: add missing error checks for chdir

This commit is contained in:
ngn
2024-08-07 01:29:09 +03:00
parent 1219501aaa
commit 865141177a
5 changed files with 181 additions and 150 deletions

View File

@ -145,6 +145,9 @@ typedef enum lm_error {
LM_ERR_FileNotExist = 143,
LM_ERR_FileNotLink = 144,
LM_ERR_ArchiveSetFail = 145,
LM_ERR_ChdirFail = 146,
LM_ERR_ExtractRootChdirFail = 147,
LM_ERR_ExtractOldChdirFail = 148,
} lm_error_t;
typedef struct lm_error_desc {