mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* screen: count args, rather than checking their contents
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
9303bce623
commit
395e41d118
1 changed files with 1 additions and 1 deletions
2
screen
2
screen
|
@ -78,7 +78,7 @@ fi
|
||||||
[ -r "$SCREENRC" ] || touch "$SCREENRC"
|
[ -r "$SCREENRC" ] || touch "$SCREENRC"
|
||||||
|
|
||||||
# Now let's execute screen!
|
# 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
|
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" -t shell /usr/bin/motd+shell
|
||||||
else
|
else
|
||||||
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" "$@"
|
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue