From ac9279cc0d5a00bc17908b2914941186020cd3ce Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 28 Nov 2007 15:45:03 +0000 Subject: Massive whitespace cleanup --- init.d/checkfs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'init.d/checkfs') diff --git a/init.d/checkfs b/init.d/checkfs index c5b8728c..4174b9b4 100755 --- a/init.d/checkfs +++ b/init.d/checkfs @@ -37,12 +37,12 @@ do_checkfs() { ebegin "Checking all filesystems" - if [ -e /forcefsck ] || get_bootparam "forcefsck" ; then + if [ -e /forcefsck ] || get_bootparam "forcefsck"; then ewarn "A full fsck has been forced" mode="-f -n" fi - if [ "${RC_UNAME}" = "Linux" ] ; then + if [ "${RC_UNAME}" = "Linux" ]; then opts="-A -C0 -R -T" else parts="$(fstabinfo --passno ">1")" @@ -52,14 +52,14 @@ do_checkfs() { fsck ${opts} ${mode} ${parts} retval=$? - if [ ${retval} -eq 0 ] ; then + if [ ${retval} -eq 0 ]; then eend 0 - elif [ ${retval} -eq 1 ] ; then + elif [ ${retval} -eq 1 ]; then ewend 1 "Filesystem errors corrected." retval=0 - elif [ ${retval} -eq 2 ] ; then + elif [ ${retval} -eq 2 ]; then ewend 1 "System should be rebooted" - elif [ ${retval} -eq 8 ] ; then + elif [ ${retval} -eq 8 ]; then ewend 1 "Operational error, continuing" retval=0 else @@ -70,7 +70,7 @@ do_checkfs() { eend ${retval} fi - if [ ${retval} -gt 3 ] ; then + if [ ${retval} -gt 3 ]; then eend 2 "Fsck could not correct all errors, manual repair needed" exec rc-abort || exit 1 fi -- cgit v1.2.3