Skip to content

Commit 0cb02a2

Browse files
author
Ubuntu
committed
Fix output stdout error
1 parent fcf20a5 commit 0cb02a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sonic-build-hooks/scripts/buildinfo_base.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ download_packages()
8282
local filename=$(echo $url | awk -F"/" '{print $NF}' | cut -d? -f1 | cut -d# -f1)
8383
[ -f $WEB_VERSION_FILE ] && version=$(grep "^${url}=" $WEB_VERSION_FILE | awk -F"==" '{print $NF}')
8484
if [ -z "$version" ]; then
85-
echo "Warning: Failed to verify the package: $url, the version is not specified" 2>&1
85+
echo "Warning: Failed to verify the package: $url, the version is not specified" 1>&2
8686
continue
8787
fi
8888

0 commit comments

Comments
 (0)