diff options
author | dzwdz | 2022-05-02 19:25:02 +0200 |
---|---|---|
committer | dzwdz | 2022-05-02 19:25:02 +0200 |
commit | 577ed9e01a83c13bf151b5137e6fe1eace1c4f7c (patch) | |
tree | 750dd8a3536ce70d817e6920c89042ee94899a29 /src/init/shell.c | |
parent | d9dc6a0c4c5047c3789a16ef623eeff7c240f5a9 (diff) |
syscalls: fork() noreap flag
Diffstat (limited to 'src/init/shell.c')
-rw-r--r-- | src/init/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/shell.c b/src/init/shell.c index d723731..e7c836f 100644 --- a/src/init/shell.c +++ b/src/init/shell.c @@ -145,7 +145,7 @@ void shell_loop(void) { } else if (!strcmp(cmd, "exit")) { _syscall_exit(0); } else if (!strcmp(cmd, "fork")) { - if (_syscall_fork()) + if (_syscall_fork(0)) _syscall_await(); else level++; } else if (!strcmp(cmd, "run_tests")) { |