Skip to content

Commit cafe77e

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Remove TMUX support."
2 parents 2f9cdef + 90c9310 commit cafe77e

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

stack.sh

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,17 +1281,12 @@ fi
12811281
function screen_it {
12821282
NL=`echo -ne '\015'`
12831283
if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then
1284-
if [[ "$USE_TMUX" =~ "yes" ]]; then
1285-
tmux new-window -t stack -a -n "$1" "bash"
1286-
tmux send-keys "$2" C-M
1287-
else
1288-
screen -S stack -X screen -t $1
1289-
# sleep to allow bash to be ready to be send the command - we are
1290-
# creating a new window in screen and then sends characters, so if
1291-
# bash isn't running by the time we send the command, nothing happens
1292-
sleep 1.5
1293-
screen -S stack -p $1 -X stuff "$2$NL"
1294-
fi
1284+
screen -S stack -X screen -t $1
1285+
# sleep to allow bash to be ready to be send the command - we are
1286+
# creating a new window in screen and then sends characters, so if
1287+
# bash isn't running by the time we send the command, nothing happens
1288+
sleep 1.5
1289+
screen -S stack -p $1 -X stuff "$2$NL"
12951290
fi
12961291
}
12971292

0 commit comments

Comments
 (0)