summaryrefslogtreecommitdiffstats
path: root/utils/mount/stropts.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-09-24 11:28:38 -0400
committerNeil Brown <neilb@suse.de>2007-09-25 11:50:15 +1000
commit51a4d2330b078dcd111d05e6c00753780b0e90a3 (patch)
tree15df43b16be9faa9db94da487bd4b127c91cc970 /utils/mount/stropts.c
parentd54d1389284570b163f6aa12622d15c6b6ecea17 (diff)
downloadnfs-utils-51a4d2330b078dcd111d05e6c00753780b0e90a3.tar.gz
nfs-utils-51a4d2330b078dcd111d05e6c00753780b0e90a3.tar.xz
nfs-utils-51a4d2330b078dcd111d05e6c00753780b0e90a3.zip
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 <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/mount/stropts.c')
-rw-r--r--utils/mount/stropts.c4
1 files changed, 2 insertions, 2 deletions
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;
}