CVS: lunar/sbin lget,1.10,1.11

sofar at lunar-linux.org sofar at lunar-linux.org
Sun Oct 5 19:55:02 GMT 2003


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

Modified Files:
	lget 
Log Message:
Slight miscalculation, cleanup


Index: lget
===================================================================
RCS file: /var/cvs/lunar/lunar/sbin/lget,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- lget	4 Oct 2003 20:13:35 -0000	1.10
+++ lget	5 Oct 2003 19:55:00 -0000	1.11
@@ -109,12 +109,10 @@
     esac
   done
 
-  if [ -n "$LGET_ALL" ] ; then
-    main
-  elif [ -z "$@" ] ; then
+  if [ -n "$LGET_ALL" -o -n "$1" ] ; then
+    main $@
+  else
     help
     exit 1
-  else
-    main $@
   fi
 fi




More information about the Lunar-commits mailing list