aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-11-20 19:05:31 +0000
committerBill Nottingham <notting@redhat.com>2006-11-20 19:05:31 +0000
commit95df8790905e2fc333aeb366b0bd55df99d1ae28 (patch)
tree3da78135dc6922dee092b2f83cd07ee1f479b6e9
parentd2a09d9a81ffa4cbb25349f6de4d641373c4f802 (diff)
downloadinitscripts-95df8790905e2fc333aeb366b0bd55df99d1ae28.tar
initscripts-95df8790905e2fc333aeb366b0bd55df99d1ae28.tar.gz
initscripts-95df8790905e2fc333aeb366b0bd55df99d1ae28.tar.bz2
initscripts-95df8790905e2fc333aeb366b0bd55df99d1ae28.tar.xz
initscripts-95df8790905e2fc333aeb366b0bd55df99d1ae28.zip
fix dmraid test (#216334)
-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 21ef7555..541719c4 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -439,7 +439,7 @@ if [ -c /dev/mapper/control ]; then
egrep -iv "^no " | \
awk -F ':' '{ print $1 }') ; do
dmname=$(resolve_dm_name $x)
- [ -n "$dmname" ] && continue
+ [ -z "$dmname" ] && continue
/sbin/dmraid.static -ay -i -p "$dmname" >/dev/null 2>&1
/sbin/kpartx -a -p p "/dev/mapper/$dmname"
done