diff --git a/sonic-pcied/scripts/pcied b/sonic-pcied/scripts/pcied index 8cc208321d8a..646bb771c82a 100644 --- a/sonic-pcied/scripts/pcied +++ b/sonic-pcied/scripts/pcied @@ -70,6 +70,7 @@ class DaemonPcied(DaemonBase): raise e resultInfo = platform_pcieutil.get_pcie_check() + err = 0 for item in resultInfo: if item["result"] == "Failed":