summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init_functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/init_functions b/init_functions
index 400bff3..081ba62 100644
--- a/init_functions
+++ b/init_functions
@@ -54,7 +54,6 @@ parse_cmdline() {
\#*) break ;;
# special cases
rw|ro) rwopt=$w ;;
- forcefsck) FORCEFSCK=-f ;;
# abide by shell variable naming rules
[[:alpha:]_]*=*)
rhs=${w#*=}
@@ -102,7 +101,7 @@ fsck_device() {
fi
msg ":: performing fsck on '$1'"
- FSTAB_FILE=/dev/null fsck -Ta -C"$FSCK_FD" "$1" -- $FORCEFSCK
+ FSTAB_FILE=/dev/null fsck -Ta -C"$FSCK_FD" "$1" -- ${forcefsck+-f}
}
fsck_root() {