exec rc-abort

This commit is contained in:
Roy Marples 2007-04-20 13:22:27 +00:00
parent c52f216450
commit 7590e7b258
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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"