rootfs-block/mount-root.sh: fixed fsck "-a" option
parent
3871942d13
commit
c56e44a63a
|
@ -66,7 +66,7 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then
|
||||||
fsckoptions="$AUTOFSCK_OPT $fsckoptions"
|
fsckoptions="$AUTOFSCK_OPT $fsckoptions"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if strstr " $fsckoptions" " -y"; then
|
if ! strstr " $fsckoptions" " -y"; then
|
||||||
fsckoptions="-a $fsckoptions"
|
fsckoptions="-a $fsckoptions"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue