aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-01-31 22:16:11 +0000
committerPeter Jones <pjones@redhat.com>2006-01-31 22:16:11 +0000
commitb3b38fd9a824318c6890a95082bfdfe0cefa8e33 (patch)
treeb216f685cb99e44cfba56314127c08af858c5fea
parent95e7d98b705456d3b3f86a07925657c69af2bf76 (diff)
downloadinitscripts-b3b38fd9a824318c6890a95082bfdfe0cefa8e33.tar
initscripts-b3b38fd9a824318c6890a95082bfdfe0cefa8e33.tar.gz
initscripts-b3b38fd9a824318c6890a95082bfdfe0cefa8e33.tar.bz2
initscripts-b3b38fd9a824318c6890a95082bfdfe0cefa8e33.tar.xz
initscripts-b3b38fd9a824318c6890a95082bfdfe0cefa8e33.zip
fix a backwards test caser8-22
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 90f14384..4635c64e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -251,7 +251,7 @@ if [ -c /dev/mapper/control ]; then
modprobe dm-mirror >/dev/null 2>&1
for x in $(dmraid -ay -t --ignorelocking 2>/dev/null | grep -v "No RAID disks" | awk -F ':' '{ print $1 }') ; do
dmname=$(resolve_dm_name $x)
- if [ -z "$dmname" ]; then
+ if [ -n "$dmname" ]; then
/sbin/dmraid -ay --ignorelocking "$dmname"
fi
done