aboutsummaryrefslogtreecommitdiff
path: root/init.d/checkfs
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/checkfs')
-rwxr-xr-xinit.d/checkfs3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.d/checkfs b/init.d/checkfs
index da3dc39f..7531ab78 100755
--- a/init.d/checkfs
+++ b/init.d/checkfs
@@ -51,8 +51,7 @@ do_checkfs() {
if [ ${retval} -gt 3 ] ; then
eend 2 "Fsck could not correct all errors, manual repair needed"
- rc-abort
- exit 1
+ exec rc-abort || exit 1
fi
fi