summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2012-03-16 19:16:47 -0400
committerTom Gundersen <teg@jklm.no>2012-03-17 11:02:19 +0100
commite3050bd87ec873bc4ac1dc21c42c7abd02c3b408 (patch)
tree9286b2dd356df925cf73086334c2fd9ba6ef57a2 /rc.sysinit
parentddb6048878ca329a23ee9a0f10919a03d41b4a29 (diff)
reorder fsck opts, explicitly set end of options marker
Fixes FS#28947. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index ff0b6d2..8fa4270 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -176,7 +176,7 @@ if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
fi
# Check filesystems
-[[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-- -f"
+[[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-f"
declare -r FORCEFSCK
if [[ -n $FORCEFSCK ]] || { [[ ! -f /fastboot ]] && ! in_array fastboot $(< /proc/cmdline); }; then