exec rc-abort
This commit is contained in:
parent
c52f216450
commit
7590e7b258
@ -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
|
||||
|
||||
|
@ -104,8 +104,7 @@ start() {
|
||||
retval=$?
|
||||
else
|
||||
eend 2 "Filesystem couldn't be fixed :("
|
||||
rc-abort
|
||||
exit 1
|
||||
exec rc-abort || exit 1
|
||||
fi
|
||||
if [ ${retval} != "0" ] ; then
|
||||
einfo "Unmounting filesystems"
|
||||
|
Loading…
Reference in New Issue
Block a user