Skip to content

Commit

Permalink
Fix echo commands (sonic-net#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Oct 20, 2018
1 parent 2cb4586 commit cfc580c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/fast-reboot
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ if [[ "$REBOOT_TYPE" = "warm-reboot" ]]; then
# Note: assume that 1 second is enough for orchagent to process the request and respone freeze or not
for i in `seq 4 -1 0`; do
docker exec -i swss /usr/bin/orchagent_restart_check -w 1000 && break
echo "RESTARTCHECK failed $i\n" >&2
echo "RESTARTCHECK failed $i" >&2
if [[ "$i" = "0" ]]; then
echo "RESTARTCHECK failed finally\n" >&2
echo "RESTARTCHECK failed finally" >&2
exit 10
fi
done
Expand Down

0 comments on commit cfc580c

Please sign in to comment.