Skip to content

Commit

Permalink
Move agent install failure message to end of agent output.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Calcote authored and John Calcote committed Mar 16, 2016
1 parent 5eac50d commit c416dd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ubuntu14/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ if [[ $IS_AGENT_INSTALL == True ]]; then
# wait for agents to complete installing in background
for p in $pids; do
if ! wait $p; then
echo "At least one agent installation failed!"
exit_code=1
fi
done
Expand All @@ -584,6 +583,8 @@ if [[ $IS_AGENT_INSTALL == True ]]; then
echo "sync /etc/hosts to controller"
#sync_hosts $CONTROLLER_IP
fi

test ${exit_code} -ne 0 && echo "ERROR: At least one agent failed to install properly."
fi

#-------------------------------------------------------------------------------
Expand Down

0 comments on commit c416dd6

Please sign in to comment.