umount.nfs: Make do_nfs_mount use conventional EX_ style return codes
authorChuck Lever <chuck.lever@oracle.com>
Sat, 28 Jul 2007 21:50:04 +0000 (17:50 -0400)
committerNeil Brown <neilb@suse.de>
Mon, 30 Jul 2007 06:12:53 +0000 (16:12 +1000)
commitf5bab6c03c5205ef9d062f167cc30060f90fedc4
treef066e00b7b6f430f28fd963b41c8fad6c8d70ee8
parent264c9705f48e145f9cb3575a953336dcd2161e49
umount.nfs: Make do_nfs_mount use conventional EX_ style return codes

do_nfs_mount() should return EX_ style return codes and not 1 or 0 in order
to distinguish between usage errors and other problems (such as EX_FILEIO
or RPC errors).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/nfsumount.c