From 51a4d2330b078dcd111d05e6c00753780b0e90a3 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 24 Sep 2007 11:28:38 -0400 Subject: mount.nfs: teach [u]mount.nfs[4] to exit with EX_SUCCESS instead of 0 Use the newly defined EX_SUCCESS exit code in all the right places. Signed-off-by: Chuck Lever Signed-off-by: Neil Brown --- utils/mount/stropts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/mount/stropts.c') diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 236a3b4..a04596d 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -283,7 +283,7 @@ int nfsmount_s(const char *spec, const char *node, int flags, } } - return 0; + return EX_SUCCESS; } /* @@ -339,5 +339,5 @@ int nfs4mount_s(const char *spec, const char *node, int flags, } } - return 0; + return EX_SUCCESS; } -- cgit