CVS: lunar/sbin lin,1.18,1.19

Auke Kok sofar at lunar-linux.org
Sun Oct 26 14:16:48 GMT 2003


Update of /var/cvs/lunar/lunar/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv16596/sbin

Modified Files:
	lin 
Log Message:
I was under the impression that I had committed these fixes already before I was AFK. But anyway, here's a proposed fix for when a moonbase lin crashes...


Index: lin
===================================================================
RCS file: /var/cvs/lunar/lunar/sbin/lin,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- lin	4 Oct 2003 20:13:35 -0000	1.18
+++ lin	26 Oct 2003 14:16:46 -0000	1.19
@@ -56,7 +56,9 @@
 
   if echo $MODULES | grep -qw moonbase ; then
     # just update moonbase, no other modules
-    get_moonbase
+    if ! get_moonbase ; then
+      exit 1
+    fi
     # remove moonbase rofm MODULES and continue
     MODULES=$(echo $MODULES | sed 's/moonbase//g')
     if [ -z "$MODULES" ] ; then




More information about the Lunar-commits mailing list