diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 | ||||
-rwxr-xr-x | rc.d/init.d/netfs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index b98ac775..4893e753 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -134,7 +134,7 @@ remaining=`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/moun runcmd $"Unmounting loobpack filesystems: " umount $remaining fi remaining=`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts` - [ -z "$remaining" && break + [ -z "$remaining" ] && break /sbin/fuser -k -m $sig $remaining >/dev/null sleep 5 retry=$(($retry -1)) diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 753937f3..85e96b03 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -56,7 +56,7 @@ case "$1" in action $"Unmounting loobpack filesystems: " umount $remaining fi remaining=`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts` - [ -z "$remaining" && break + [ -z "$remaining" ] && break /sbin/fuser -k -m $sig $remaining >/dev/null sleep 5 retry=$(($retry -1)) |