aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
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