mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
refactor: change error number.
This commit is contained in:
parent
44e3958ada
commit
1deea980ee
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Reference in New Issue