exec rc-abort
This commit is contained in:
parent
c52f216450
commit
7590e7b258
@ -51,8 +51,7 @@ do_checkfs() {
|
|||||||
|
|
||||||
if [ ${retval} -gt 3 ] ; then
|
if [ ${retval} -gt 3 ] ; then
|
||||||
eend 2 "Fsck could not correct all errors, manual repair needed"
|
eend 2 "Fsck could not correct all errors, manual repair needed"
|
||||||
rc-abort
|
exec rc-abort || exit 1
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -104,8 +104,7 @@ start() {
|
|||||||
retval=$?
|
retval=$?
|
||||||
else
|
else
|
||||||
eend 2 "Filesystem couldn't be fixed :("
|
eend 2 "Filesystem couldn't be fixed :("
|
||||||
rc-abort
|
exec rc-abort || exit 1
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
if [ ${retval} != "0" ] ; then
|
if [ ${retval} != "0" ] ; then
|
||||||
einfo "Unmounting filesystems"
|
einfo "Unmounting filesystems"
|
||||||
|
Loading…
Reference in New Issue
Block a user