diff options
author | Mantas Mikulenas <grawity@gmail.com> | 2012-10-15 16:08:34 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-10-15 16:08:34 -0400 |
commit | 985f89a8a87f2626583b240f7abad86d97a77596 (patch) | |
tree | ae5558e91bf74bf25cd71e4be39c589e91513f09 /utils/mountd/mountd.c | |
parent | 329c63dd7e4e76fc66e8a6058d95c59974ad7db1 (diff) | |
download | nfs-utils-985f89a8a87f2626583b240f7abad86d97a77596.tar.gz nfs-utils-985f89a8a87f2626583b240f7abad86d97a77596.tar.xz nfs-utils-985f89a8a87f2626583b240f7abad86d97a77596.zip |
utils: Return status 0 on clean exits
Some init systems actually expect daemons to return 0 on success.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mountd/mountd.c')
-rw-r--r-- | utils/mountd/mountd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index bcf5080..993b6e6 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -196,7 +196,8 @@ killer (int sig) wait_for_workers(); } cleanup_lockfiles(); - xlog (L_FATAL, "Caught signal %d, un-registering and exiting.", sig); + xlog (L_NOTICE, "Caught signal %d, un-registering and exiting.", sig); + exit(0); } static void |