aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1998-10-15 16:04:12 +0000
committerErik Troan <ewt@redhat.com>1998-10-15 16:04:12 +0000
commit205ef53d92cbc1b143bd2df920e22a79691fa4aa (patch)
treec0c25f65b147840f9fd2f91ee01a5cefc81b073f /rc.d
parent51dfa9d21c090a43e5e5d409c1e513584dda706e (diff)
downloadinitscripts-205ef53d92cbc1b143bd2df920e22a79691fa4aa.tar
initscripts-205ef53d92cbc1b143bd2df920e22a79691fa4aa.tar.gz
initscripts-205ef53d92cbc1b143bd2df920e22a79691fa4aa.tar.bz2
initscripts-205ef53d92cbc1b143bd2df920e22a79691fa4aa.tar.xz
initscripts-205ef53d92cbc1b143bd2df920e22a79691fa4aa.zip
fixed shell stuff
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 42022241..64f9f100 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -48,7 +48,7 @@ umount -a
mount -n -o remount,ro /
# turn off raid
-if [ -x /sbin/raidstop && -f /etc/raidtab ]; then
+if [ -x /sbin/raidstop -a -f /etc/raidtab ]; then
/sbin/raidstop -a
fi