commit 33acee2a700ceed98a7c892bf462e4b04d46bc96
parent ddbeaa6531d838822c9ccfc49d4f704369e59ef6
Author: Georg Neis <gn@wmii.de>
Date: Sat, 18 Feb 2006 22:39:20 +0200
rc/extern: exit if argument list is empty
this avoids "empty argument list" error messages when
leaving the menu by pressing escape
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/rc/extern b/rc/extern
@@ -1,6 +1,9 @@
#!9PREFIX/bin/rc
# clean the environment and execute the given command
+if(~ $#* 0)
+ exit
+
PATH=$OLD_PATH
OLD_PATH=()
wmiircpid=()