aboutsummaryrefslogtreecommitdiff
path: root/init.d/checkfs
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/checkfs')
-rwxr-xr-xinit.d/checkfs9
1 files changed, 2 insertions, 7 deletions
diff --git a/init.d/checkfs b/init.d/checkfs
index 2f9ead02..da3dc39f 100755
--- a/init.d/checkfs
+++ b/init.d/checkfs
@@ -51,13 +51,8 @@ do_checkfs() {
if [ ${retval} -gt 3 ] ; then
eend 2 "Fsck could not correct all errors, manual repair needed"
- if [ "${RC_SYS}" = "VPS" ] ; then
- halt -f
- elif [ -x /sbin/sulogin ] ; then
- sulogin "${CONSOLE}"
- else
- return 1
- fi
+ rc-abort
+ exit 1
fi
fi