diff options
Diffstat (limited to 'source3/client/smbmount.c')
-rw-r--r-- | source3/client/smbmount.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index 54970f7030..33adfc4d48 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -78,12 +78,8 @@ static void daemonize(void) } break; } - /* If we get here - the child exited with some error status */ - if (WIFSIGNALLED(status)) - exit(128 + WTERMSIG(status)); - else - exit(WEXITSTATUS(status)); + exit(status); } signal( SIGTERM, SIG_DFL ); |