aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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