aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-13 20:29:24 +0000
committerBill Nottingham <notting@redhat.com>2001-02-13 20:29:24 +0000
commit09caceabdc6fd704a78e2234eadb302bec2249be (patch)
treedf309c12c3857adc8458ddee1bace769bac98b70
parent9b55df337e4b3eb47f1566edbfffd0eb169e7144 (diff)
downloadinitscripts-r5-64.tar
initscripts-r5-64.tar.gz
initscripts-r5-64.tar.bz2
initscripts-r5-64.tar.xz
initscripts-r5-64.zip
fix typosr5-64
-rwxr-xr-xrc.d/init.d/halt2
-rwxr-xr-xrc.d/init.d/netfs2
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))