aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-01-31 22:57:51 +0000
committerPeter Jones <pjones@redhat.com>2006-01-31 22:57:51 +0000
commitc56a2889d31106ac3872d9df0936a4a17342098f (patch)
tree0780cdf2d66b38fd9d5501427c423ac03e3a1fba
parent5b51082f97202488fbd1e6246a8680ab4dc8d336 (diff)
downloadinitscripts-c56a2889d31106ac3872d9df0936a4a17342098f.tar
initscripts-c56a2889d31106ac3872d9df0936a4a17342098f.tar.gz
initscripts-c56a2889d31106ac3872d9df0936a4a17342098f.tar.bz2
initscripts-c56a2889d31106ac3872d9df0936a4a17342098f.tar.xz
initscripts-c56a2889d31106ac3872d9df0936a4a17342098f.zip
- activate the name we were looking up, not the one we failed to find
-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..88b6d7d6 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -252,7 +252,7 @@ if [ -c /dev/mapper/control ]; then
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
- /sbin/dmraid -ay --ignorelocking "$dmname"
+ /sbin/dmraid -ay --ignorelocking "$x"
fi
done
fi