diff options
author | Bill Nottingham <notting@redhat.com> | 2004-03-17 02:24:18 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-03-17 02:24:18 +0000 |
commit | 29cc108b3be859335293941a082e04f5da78df53 (patch) | |
tree | 6740bf7de46d2552e1f7cf4e843378253a17fa3d /rc.d/init.d | |
parent | 064e07a9abd41c684ba42f75290667e9a1d05f02 (diff) | |
download | initscripts-29cc108b3be859335293941a082e04f5da78df53.tar initscripts-29cc108b3be859335293941a082e04f5da78df53.tar.gz initscripts-29cc108b3be859335293941a082e04f5da78df53.tar.bz2 initscripts-29cc108b3be859335293941a082e04f5da78df53.tar.xz initscripts-29cc108b3be859335293941a082e04f5da78df53.zip |
fix umounting code (#113088, <giardina@airlab.elet.polimi.it>)
Diffstat (limited to 'rc.d/init.d')
-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 4b3bdb8f..d9faaaf8 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -194,7 +194,7 @@ done rm -f /.autofsck # Try all file systems other than root and RAM disks, one last time. -mount | awk '/!( \/ |^\/dev\/root|^\/dev\/ram)/ { print $3 }' | \ +mount | awk '!/( \/ |^\/dev\/root|^\/dev\/ram)/ { print $3 }' | \ while read line; do umount -f $line done |