refactor: change error number.

This commit is contained in:
liqiang-fit2cloud 2025-12-08 11:29:54 +08:00
parent 44e3958ada
commit 1deea980ee

View File

@ -204,12 +204,12 @@ static int allow_create_subprocess() {
}
static int deny() {
fprintf(stderr, "Permission denied to create subprocess.\n");
_exit(1);
_exit(126);
return -1;
}
static int not_supported(const char *function_name) {
fprintf(stderr, "Not supported function: %s\n", function_name);
_exit(1);
_exit(126);
return -1;
}
#define RESOLVE_REAL(func) \