From f9ca7c6f72b3c98150a6ead2d41d627168554b89 Mon Sep 17 00:00:00 2001 From: bingwang Date: Wed, 3 Feb 2021 18:35:12 -0800 Subject: [PATCH] Fix incorrect subcommand for pcieutil. Signed-off-by: bingwang --- files/image_config/pcie-check/pcie-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/image_config/pcie-check/pcie-check.sh b/files/image_config/pcie-check/pcie-check.sh index 4ef2ce3047f..7c414707ce2 100755 --- a/files/image_config/pcie-check/pcie-check.sh +++ b/files/image_config/pcie-check/pcie-check.sh @@ -16,7 +16,7 @@ function debug() function check_and_rescan_pcie_devices() { - PCIE_CHK_CMD='sudo pcieutil pcie-check |grep "$RESULTS"' + PCIE_CHK_CMD='sudo pcieutil check |grep "$RESULTS"' PLATFORM=$(sonic-cfggen -H -v DEVICE_METADATA.localhost.platform) if [ ! -f /usr/share/sonic/device/$PLATFORM/plugins/pcie.yaml ]; then