aboutsummaryrefslogtreecommitdiff
path: root/netfs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-07-30 20:52:40 (GMT)
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-30 20:52:40 (GMT)
commit7a1b906ca77f83c2e1956bdc04a1e822239465ea (patch)
tree3684e026c40660e759fa6beb244f029996420598 /netfs
parente2ee36ac9ef274d40b99967320bd3169c36479f0 (diff)
downloadinitscripts-7a1b906ca77f83c2e1956bdc04a1e822239465ea.tar.xz
Missed a return value check in previous commit
Whoopsie Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'netfs')
-rwxr-xr-xnetfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs b/netfs
index 60516e7..cdfdf98 100755
--- a/netfs
+++ b/netfs
@@ -26,7 +26,7 @@ case "$1" in
rc=$?
/bin/umount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,glusterfs,fuse,fuseblk,fuse.glusterfs
rc=$(($rc+$?))
- if [ $? -gt 0 ]; then
+ if [ $rc -gt 0 ]; then
stat_fail
else
rm_daemon netfs