diff options
Diffstat (limited to 'common/sys')
-rw-r--r-- | common/sys/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sys/file.c b/common/sys/file.c index da451280..2165e7b5 100644 --- a/common/sys/file.c +++ b/common/sys/file.c @@ -214,7 +214,7 @@ Rename(const char *src, const char *dst) return -1; // because we need the return value, override the signal handler - s = signal(SIGCHLD, NULL); + s = signal(SIGCHLD, SIG_DFL); pid = fork(); if (pid == 0) |