From 587cadece4238f660424ab4b34a4a1837239e0a6 Mon Sep 17 00:00:00 2001 From: gpunathilell Date: Wed, 1 May 2024 14:26:03 +0000 Subject: [PATCH] Removed local call for the script --- platform/mellanox/sonic-bfb-installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/mellanox/sonic-bfb-installer b/platform/mellanox/sonic-bfb-installer index 8b8f9e550b57..ec147fac3806 100755 --- a/platform/mellanox/sonic-bfb-installer +++ b/platform/mellanox/sonic-bfb-installer @@ -31,7 +31,7 @@ bfb_install_call(){ #Example:sudo bfb-install -b -r rshim local result_file=$(mktemp "/tmp/result_file.XXXXX") trap "rm -f $result_file" EXIT - local cmd="timeout 300s ./bfb-install -b $2 -r $1 $appendix" + local cmd="timeout 300s bfb-install -b $2 -r $1 $appendix" echo "Installing bfb image on DPU connected to $1 using $cmd" local indicator="$1:" eval "$cmd" > "$result_file" 2>&1 > >(while IFS= read -r line; do echo "$indicator $line"; done > "$result_file")