Skip to content

Commit

Permalink
Removed local call for the script
Browse files Browse the repository at this point in the history
  • Loading branch information
gpunathilell committed May 1, 2024
1 parent 57eb6ae commit 587cade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/mellanox/sonic-bfb-installer
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ bfb_install_call(){
#Example:sudo bfb-install -b <full path to image> -r rshim<id>
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")
Expand Down

0 comments on commit 587cade

Please sign in to comment.