summaryrefslogtreecommitdiffstats
path: root/support/nfs/xlog.c
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2013-10-22 04:28:48 -0400
committerSteve Dickson <steved@redhat.com>2013-10-22 04:28:48 -0400
commit956aeff2e24304e938846f81f4b9db34cbf18a32 (patch)
tree75ee4dd5848ec657b794424e2000eed4f3daea9b /support/nfs/xlog.c
parent4d9b08c1599046cf9b401769d0da4a9e65fee7c3 (diff)
downloadnfs-utils-956aeff2e24304e938846f81f4b9db34cbf18a32.tar.gz
nfs-utils-956aeff2e24304e938846f81f4b9db34cbf18a32.tar.xz
nfs-utils-956aeff2e24304e938846f81f4b9db34cbf18a32.zip
exportfs: Return non-zero exit value on error
To improve error handling when scripting exportfs it's useful to have non-zero exit codes when the requested operation did not succeed. This patch also returns a non-zero exit code if you request to unexport a non-existant share. Signed-off-by: Tony Asleson <tasleson@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/xlog.c')
0 files changed, 0 insertions, 0 deletions