diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index cfed164a..165a86eb 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -153,7 +153,7 @@ remaining=`awk '!/^#/ && $1 ~ /^\/dev\/loop/ && $2 != "/" {print $1}' /proc/moun sig= retry=3 -remaining=`halt_get_remaining` +remaining=`halt_get_remaining | sort -r` while [ -n "$remaining" -a "$retry" -gt 0 ] do @@ -163,7 +163,7 @@ do LANG=C runcmd $"Unmounting file systems: " umount -f $remaining fi sleep 2 - remaining=`halt_get_remaining` + remaining=`halt_get_remaining | sort -r` [ -z "$remaining" ] && break /sbin/fuser -k -m $sig $remaining >/dev/null sleep 5 |