]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
rootfs-block/mount-root.sh: fixed fsck "-a" option
authorHarald Hoyer <harald@redhat.com>
Wed, 3 Nov 2010 17:40:42 +0000 (13:40 -0400)
committerHarald Hoyer <harald@redhat.com>
Wed, 3 Nov 2010 17:40:42 +0000 (13:40 -0400)
modules.d/95rootfs-block/mount-root.sh

index 59d8540d5a9061819fccc46abfc655ebbe2b835c..ff64209ffaad61d31a3062e5bd3251c9c4adfd7a 100755 (executable)
@@ -66,7 +66,7 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then
         fsckoptions="$AUTOFSCK_OPT $fsckoptions"
     fi
 
-    if strstr " $fsckoptions" " -y"; then
+    if strstr " $fsckoptions" " -y"; then
         fsckoptions="-a $fsckoptions"
     fi