diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-10-15 16:00:08 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-10-15 16:00:08 -0300 |
commit | aac512901f6932f1a8737fcf9671e80d60b19add (patch) | |
tree | 6773e82966556d6f841345ad07459cddcecdf770 /wscreen | |
parent | 22f598c0ce9d8bfb15294598896b7b76972124b4 (diff) | |
download | termplex-aac512901f6932f1a8737fcf9671e80d60b19add.tar.gz termplex-aac512901f6932f1a8737fcf9671e80d60b19add.tar.bz2 |
Remove 'main' as an special screen profile
Diffstat (limited to 'wscreen')
-rwxr-xr-x | wscreen | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -25,15 +25,15 @@ if [ ! -z "$1" ]; then session="-S $1" fi - if [ "$1" == "main" ]; then - opts="" - elif [ "$1" == "root" ]; then + if [ "$1" == "root" ]; then sudo screen -x exit elif [ -f "$HOME/.screen/$1" ]; then opts="-c $HOME/.screen/$1" elif [ -f "$HOME/.screen/base" ]; then opts="-c $HOME/.screen/base" + else + opts="" fi fi |