diff --git a/files/scripts/syncd.sh b/files/scripts/syncd.sh index dc5aad7d7221..065574e501bf 100755 --- a/files/scripts/syncd.sh +++ b/files/scripts/syncd.sh @@ -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"