summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-07-30 13:52:40 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-30 13:52:40 -0700
commit7a1b906ca77f83c2e1956bdc04a1e822239465ea (patch)
tree3684e026c40660e759fa6beb244f029996420598
parente2ee36ac9ef274d40b99967320bd3169c36479f0 (diff)
Missed a return value check in previous commit
Whoopsie Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-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