From c52f2164502544c17811e47fc3236fe87aa7fc5b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 20 Apr 2007 13:12:21 +0000 Subject: Added the rc-abort command, #175106 thanks to Daniel Drake. --- init.d/checkroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.d/checkroot') diff --git a/init.d/checkroot b/init.d/checkroot index 2fa22ec5..03741ae8 100755 --- a/init.d/checkroot +++ b/init.d/checkroot @@ -104,8 +104,8 @@ start() { retval=$? else eend 2 "Filesystem couldn't be fixed :(" - [ "${RC_UNAME}" = "Linux" ] || return 1 - sulogin "${CONSOLE}" + rc-abort + exit 1 fi if [ ${retval} != "0" ] ; then einfo "Unmounting filesystems" -- cgit v1.2.3