]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
rootfs-block/mount-root.sh: set prompt in emergency shell
authorHarald Hoyer <harald@redhat.com>
Wed, 10 Nov 2010 19:45:02 +0000 (20:45 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 10 Nov 2010 19:45:02 +0000 (20:45 +0100)
modules.d/95rootfs-block/mount-root.sh

index f56fbed180191617e7e4adc1130a46cd8eb85c1c..baa1ce570ef3749351978d6bf6b18ffd0cdcc8bb 100755 (executable)
@@ -127,7 +127,7 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then
             warn "*** An error occurred during the file system check."
             warn "*** Dropping you to a shell; the system will retry"
             warn "*** to mount the system, when you leave the shell."
-            emergency_shell "(Repair filesystem)"
+            emergency_shell -n "(Repair filesystem)"
         else
             echo $out|vinfo
             [ $RD_ROOTFS_FSCK -gt 0 ] && warn "fsck returned with $RD_ROOTFS_FSCK"