From 29cc108b3be859335293941a082e04f5da78df53 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 17 Mar 2004 02:24:18 +0000 Subject: fix umounting code (#113088, ) --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1