diff options
Diffstat (limited to 'wscreen')
-rwxr-xr-x | wscreen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ screen -wipe &> /dev/null # Session selection. if [ ! -z "$1" ]; then - if screen -ls $1 | grep -q "There is a screen on"; then + if screen -ls $1 | grep -qP "\.$1\t"; then #echo "There's already a screen called $1" #exit 1 screen -x $1 |