Skip to content

Commit a629e21

Browse files
authored
Make the if condition consistent
1 parent d42542a commit a629e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/scripts/syncd.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function waitplatform() {
4949
if [[ x"$sonic_asic_platform" == x"mellanox" ]]; then
5050
if [[ x"$BOOT_TYPE" = @(x"fast"|x"warm"|x"fastfast") ]]; then
5151
PMON_TIMER_STATUS=$(systemctl is-active pmon.timer)
52-
if [[ "$PMON_TIMER_STATUS" = "inactive" ]]; then
52+
if [[ x"$PMON_TIMER_STATUS" = x"inactive" ]]; then
5353
systemctl start pmon.timer
5454
else
5555
debug "PMON service is delayed by a timer for better fast/warm boot performance"

0 commit comments

Comments
 (0)