CVS: theedge/sbin lget,1.25,1.26

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


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

Modified Files:
	lget 
Log Message:
Fix for miscalculation, thx HK.


Index: lget
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lget,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- lget	4 Oct 2003 20:19:43 -0000	1.25
+++ lget	5 Oct 2003 19:55:53 -0000	1.26
@@ -122,12 +122,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