diff options
author | Bill Nottingham <notting@redhat.com> | 2005-04-15 20:01:18 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-04-15 20:01:18 +0000 |
commit | 40412b28028ff453d6350f96a4e7efab3a3b0342 (patch) | |
tree | 2ba726cfafa315a68443bfc66334c1e3bf8ed546 | |
parent | 65b79521dbeb506c69a9d43b5d6e612fd1486a2f (diff) | |
download | initscripts-40412b28028ff453d6350f96a4e7efab3a3b0342.tar initscripts-40412b28028ff453d6350f96a4e7efab3a3b0342.tar.gz initscripts-40412b28028ff453d6350f96a4e7efab3a3b0342.tar.bz2 initscripts-40412b28028ff453d6350f96a4e7efab3a3b0342.tar.xz initscripts-40412b28028ff453d6350f96a4e7efab3a3b0342.zip |
reverse sort the mount list, avoiding errors (#147254, <jamesodhunt@hotmail.com>)
-rwxr-xr-x | rc.d/init.d/halt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index ba25911d..55083d7c 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -199,7 +199,7 @@ done rm -f /.autofsck # Try all file systems other than root and RAM disks, one last time. -mount | awk '!/( \/ |^\/dev\/root|^\/dev\/ram| \/proc )/ { print $3 }' | \ +mount | awk '!/( \/ |^\/dev\/root|^\/dev\/ram| \/proc )/ { print $3 }' | sort -r \ while read line; do umount -f $line done |