Skip to content

Commit 1deea98

Browse files
refactor: change error number.
1 parent 44e3958 commit 1deea98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installer/sandbox.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ static int allow_create_subprocess() {
204204
}
205205
static int deny() {
206206
fprintf(stderr, "Permission denied to create subprocess.\n");
207-
_exit(1);
207+
_exit(126);
208208
return -1;
209209
}
210210
static int not_supported(const char *function_name) {
211211
fprintf(stderr, "Not supported function: %s\n", function_name);
212-
_exit(1);
212+
_exit(126);
213213
return -1;
214214
}
215215
#define RESOLVE_REAL(func) \

0 commit comments

Comments
 (0)