summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions11
1 files changed, 9 insertions, 2 deletions
diff --git a/init_functions b/init_functions
index dc4361a..98bf354 100644
--- a/init_functions
+++ b/init_functions
@@ -82,8 +82,15 @@ parse_cmdline() {
rw|ro) rwopt=$_w ;;
fsck.mode=*)
case ${_w#*=} in
- force) forcefsck=y ;;
- skip) fastboot=y ;;
+ force)
+ forcefsck=y
+ ;;
+ skip)
+ fastboot=y
+ ;;
+ *)
+ err "unknown fsck.mode parameter: '${_w#*=}'"
+ ;;
esac
;;
# abide by shell variable naming rules