diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-09-24 11:28:33 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-09-25 11:50:15 +1000 |
commit | d54d1389284570b163f6aa12622d15c6b6ecea17 (patch) | |
tree | ee3787c4dfedd35469cc9ca512241690ce1a5a0c /support/export/export.c | |
parent | bda03ca689ff8b410a778299e5c6f4a14fcc85f8 (diff) | |
download | nfs-utils-d54d1389284570b163f6aa12622d15c6b6ecea17.tar.gz nfs-utils-d54d1389284570b163f6aa12622d15c6b6ecea17.tar.xz nfs-utils-d54d1389284570b163f6aa12622d15c6b6ecea17.zip |
mount.nfs: add EX_SUCCESS exit code
We've had some recent trouble, especially in the umount code, that appears
to be due to functions returning a 1 or a 0 return code when they should be
returning a mount exit code (such as EX_FAIL) or a 0.
To help clearly distinguish these two classes of functions, define an
EX_SUCCESS exit code, which is equal to zero.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions