CVS: moonbase/utils/e2fsprogs/init.d mount,1.8,1.9

Terry Chan tchan at lunar-linux.org
Mon Dec 8 16:03:43 GMT 2003


Update of /var/cvs/lunar/moonbase/utils/e2fsprogs/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv31825

Modified Files:
	mount 
Log Message:
Corrected a typo in the comments and made a change in the fsck code.  ML
suggested the change to get the fsck code to work a little better.


Index: mount
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/e2fsprogs/init.d/mount,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- mount	24 Nov 2003 19:16:17 -0000	1.8
+++ mount	8 Dec 2003 16:03:40 -0000	1.9
@@ -59,11 +59,11 @@
       FORCE="-f"
     fi
     echo      -n " * Checking all file systems"
-    fsck      -A -y &> /dev/null
+    fsck      -A -y
     if [ "$?" -eq "0" ] ; then
       echo    -e $RESULT_OK
     else
-      if [ "$?" -eq "1" ] ; then    # Don't force the poor guy into resuce mode, if fscked cleaned it
+      if [ "$?" -eq "1" ] ; then    # Don't force the poor guy into rescue mode, if fscked cleaned it
         echo  -e $RESULT_WARN
       else
         echo  -e " * fsck failed.$RESULT_FAIL"




More information about the Lunar-commits mailing list