sleep half a second to allow bash to start in screen

This commit is contained in:
Jesse Andrews 2011-11-06 00:42:11 -07:00
parent 11416bfeaf
commit ab6105ccf6

View file

@ -909,6 +909,7 @@ function screen_it {
NL=`echo -ne '\015'` NL=`echo -ne '\015'`
if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then if [[ "$ENABLED_SERVICES" =~ "$1" ]]; then
screen -S stack -X screen -t $1 screen -S stack -X screen -t $1
sleep 0.5
screen -S stack -p $1 -X stuff "$2$NL" screen -S stack -p $1 -X stuff "$2$NL"
fi fi
} }