summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c
index 54970f70309..2c70f3ff50a 100644
--- a/source/client/smbmount.c
+++ b/source/client/smbmount.c
@@ -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));