Skip to content
Snippets Groups Projects
Commit 4a952e37 authored by felmer's avatar felmer
Browse files

LMS-2471 script making more robust

SVN: 22870
parent cd5ff793
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,9 @@ for i in {1..120}; do
echo -n "."
sleep 2
set +o errexit
started=`egrep -R "($STARTING_MESSAGE|$STOPPED_MESSAGE)" "$LOG_FILE" | tail -1 | grep "$STOPPED_MESSAGE"`
set -o errexit
if [ -n "$started" ]; then
echo "Done."
exit 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment