Skip to content

Commit

Permalink
Make the if condition consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomibitton committed May 31, 2022
1 parent d42542a commit a629e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/scripts/syncd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function waitplatform() {
if [[ x"$sonic_asic_platform" == x"mellanox" ]]; then
if [[ x"$BOOT_TYPE" = @(x"fast"|x"warm"|x"fastfast") ]]; then
PMON_TIMER_STATUS=$(systemctl is-active pmon.timer)
if [[ "$PMON_TIMER_STATUS" = "inactive" ]]; then
if [[ x"$PMON_TIMER_STATUS" = x"inactive" ]]; then
systemctl start pmon.timer
else
debug "PMON service is delayed by a timer for better fast/warm boot performance"
Expand Down

0 comments on commit a629e21

Please sign in to comment.