mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
screen -ls always seems to exit 1, even if i get
the output I need Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
39dfc3e694
commit
b421ac3fd5
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
[ -x /bin/bash ] && /bin/true | /bin/bash -i -s
|
||||
|
||||
arg="-xRR"
|
||||
out=`screen -ls 2>/dev/null`
|
||||
out=`screen -ls 2>/dev/null` || true
|
||||
if echo "$out" | grep -qsi "^No Sockets found in "; then
|
||||
# Start new session
|
||||
arg=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue