aboutsummaryrefslogtreecommitdiff
path: root/netfs
diff options
context:
space:
mode:
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