mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
parent
34533c7a1c
commit
523e406daf
@ -80,7 +80,7 @@ static void daemonize(void)
|
||||
}
|
||||
|
||||
/* If we get here - the child exited with some error status */
|
||||
if (WIFSIGNALLED(status))
|
||||
if (WIFSIGNALED(status))
|
||||
exit(128 + WTERMSIG(status));
|
||||
else
|
||||
exit(WEXITSTATUS(status));
|
||||
|
Loading…
Reference in New Issue
Block a user