aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/fsck.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/init.d/fsck.in b/init.d/fsck.in
index e233a5c7..d8e10c7c 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -1,5 +1,5 @@
#!@PREFIX@/sbin/runscript
-# Copyright 2007-2008 Roy Marples <roy@marples.name>
+# Copyright 2007-2009 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
description="Check and repair filesystems according to /etc/fstab"
@@ -76,11 +76,13 @@ start()
ewend 1 "Filesystems repaired, but reboot needed"
_reboot -f
else
- ewend 1 "Filesystems still have errors; manual fsck required"
+ ewend 1 "Filesystems still have errors;" \
+ "manual fsck required"
+ _abort
fi;;
4) if [ "${RC_UNAME}" = "Linux" ]; then
- ewend 1 "Fileystem errors left uncorrected"
- return 0
+ ewend 1 "Fileystem errors left uncorrected, aborting"
+ _abort
else
ewend 1 "Filesystems repaired, but reboot needed"
_reboot