From 395e41d11860a87dbd4272841f3258c55141ef07 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 27 Apr 2009 17:58:27 -0500 Subject: [PATCH] * screen: count args, rather than checking their contents Signed-off-by: Dustin Kirkland --- screen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen b/screen index 38a958f6..f14bfb46 100755 --- a/screen +++ b/screen @@ -78,7 +78,7 @@ fi [ -r "$SCREENRC" ] || touch "$SCREENRC" # Now let's execute screen! -if [ -z "$@" ]; then +if [ "$#" = "0" ]; then exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" -t shell /usr/bin/motd+shell else exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" "$@"