Skip to content

Commit

Permalink
freebsd-pkg: Don't use return in outer scope
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Oct 7, 2024
1 parent 4d3d694 commit 255c832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freebsd-pkg/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ echo "[INFO] getting version list..."
$CURL_WRAP -sSL $FBSD_PKG_UPSTREAM | grep -oP 'FreeBSD:[0-9]+:[a-z0-9]+' | grep -vP $FBSD_PKG_EXCLUDE | sort -t : -rnk 2 | uniq | tee $FBSD_PLATFORMS
if [[ ${PIPESTATUS[0]} -ne 0 ]]; then
echo "[FATAL] get version list from $FBSD_PKG_UPSTREAM failed."
return 1
exit 1
fi

while read platform; do
Expand Down

0 comments on commit 255c832

Please sign in to comment.