diff lib-src/gnudoit @ 278:90d73dddcdc4 r21-0b37

Import from CVS: tag r21-0b37
author cvs
date Mon, 13 Aug 2007 10:31:29 +0200
parents 43dd3413c7c7
children
line wrap: on
line diff
--- a/lib-src/gnudoit	Mon Aug 13 10:30:38 2007 +0200
+++ b/lib-src/gnudoit	Mon Aug 13 10:31:29 2007 +0200
@@ -27,10 +27,10 @@
 
 if [ $# -eq 0 ]
 then
-    echo "$0: arguments expected" >&2
-    exit 1
+    exec gnuclient $quick -batch 
+else
+# I use "$*" instead of "$@" intentionally -- I don't want to have the
+# arguments split.
+    exec gnuclient $quick -batch -eval "$*"
 fi
 
-# I use "$*" instead of "$@" intentionally -- I don't want to have the
-# arguments split.
-exec gnuclient $quick -batch -eval "$*"