Skip to content

Commit

Permalink
Fixed conditional operator. (sonic-net#487)
Browse files Browse the repository at this point in the history
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
  • Loading branch information
nazariig authored and jleveque committed Jul 17, 2019
1 parent e193e9d commit 736eb05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ function set_start_type()
{
if [ x"$WARM_BOOT" == x"true" ]; then
CMD_ARGS+=" -t warm"
elif [ $FAST_REBOOT == "yes" ]; then
elif [ x"$FAST_REBOOT" == x"yes" ]; then
CMD_ARGS+=" -t fast"
elif [ $FASTFAST_REBOOT == "yes" ]; then
elif [ x"$FASTFAST_REBOOT" == x"yes" ]; then
CMD_ARGS+=" -t fastfast"
fi
}
Expand Down

0 comments on commit 736eb05

Please sign in to comment.