]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
romount fix
authorHarald Hoyer <harald@redhat.com>
Tue, 22 Jan 2013 17:11:04 +0000 (18:11 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 23 Jan 2013 14:24:27 +0000 (15:24 +0100)
modules.d/95rootfs-block/mount-root.sh

index 0467a5598fca8a23998d17185e4694bee337977c..54d50126ac1870f1fa614dfebcae25257980931c 100755 (executable)
@@ -28,7 +28,7 @@ mount_root() {
     _rflags_ro="$rflags,ro"
 
     while ! mount -t ${rootfs} -o "$_rflags_ro" "${root#block:}" "$NEWROOT"; do
-        warn "Failed to mount -t ${rootfs} -o $_rflags_ro ${root#block:} $NEWROOT"
+        warn "Failed to mount -t ${rootfs} -o ${_rflags_ro##,} ${root#block:} $NEWROOT"
         fsck_ask_err
     done