|
...
|
...
|
@@ -331,13 +331,13 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ] && [ -e ~/.ssh/id_rsa.pub ] && [ "$COPYENV" =
|
|
331
|
331
|
trap kill_tail SIGINT
|
|
332
|
332
|
|
|
333
|
333
|
echo "Waiting stack.sh to finish..."
|
|
334
|
|
- while ! ssh -q stack@$PUB_IP "grep -q 'stack.sh completed in' run.sh.log" ; do
|
|
|
334
|
+ while ! ssh -q stack@$PUB_IP "grep -q 'stack.sh completed in' run.sh.log"; do
|
|
335
|
335
|
sleep 1
|
|
336
|
336
|
done
|
|
337
|
337
|
|
|
338
|
338
|
kill $TAIL_PID
|
|
339
|
339
|
|
|
340
|
|
- if ! ssh -q stack@$PUB_IP "grep -q 'stack.sh failed' run.sh.log" ; then
|
|
|
340
|
+ if ssh -q stack@$PUB_IP "grep -q 'stack.sh failed' run.sh.log"; then
|
|
341
|
341
|
exit 1
|
|
342
|
342
|
fi
|
|
343
|
343
|
echo ""
|