summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 44c3eac..4080a0d 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -217,7 +217,7 @@ fi
status "Mounting Root Read-only" /bin/mount -n -o remount,ro /
FORCEFSCK=
-[[ -f /forcefsck ]] && FORCEFSCK="-- -f"
+[[ -f /forcefsck || -n "$forcefsck" ]] && FORCEFSCK="-- -f"
NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,noshfs,nofuse,nofuseblk,noglusterfs"
fsck_reboot() {