diff options
author | Dave Reisner <d@falconindy.com> | 2012-03-16 19:16:47 -0400 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-03-17 11:02:19 +0100 |
commit | e3050bd87ec873bc4ac1dc21c42c7abd02c3b408 (patch) | |
tree | 9286b2dd356df925cf73086334c2fd9ba6ef57a2 | |
parent | ddb6048878ca329a23ee9a0f10919a03d41b4a29 (diff) |
reorder fsck opts, explicitly set end of options marker
Fixes FS#28947.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | functions | 2 | ||||
-rwxr-xr-x | rc.sysinit | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -432,7 +432,7 @@ fsck_all() { IGNORE_MOUNTED="-M" fi - fsck -A -T -C${FSCK_FD} -a -t no${NETFS//,/,no},noopts=_netdev ${FORCEFSCK} ${IGNORE_MOUNTED} + fsck -A -T -C${FSCK_FD} -a -t no${NETFS//,/,no},noopts=_netdev ${IGNORE_MOUNTED} -- ${FORCEFSCK} } # Single-user login and/or automatic reboot after fsck (if needed) @@ -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 |