Skip to content

Commit

Permalink
[gantry] allow registries file to end without a newline.
Browse files Browse the repository at this point in the history
It does not follow POSIX (https://stackoverflow.com/questions/729692/).
But it would be more user friendly.
  • Loading branch information
shizunge committed Feb 8, 2024
1 parent 5bb817c commit 854af21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-gantry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ _authenticate_to_registries() {
return 1
fi
_login_registry "${USER}" "${PASSWORD}" "${HOST}" "${CONFIG}"
done <"${CONFIGS_FILE}"
done < <(cat "${CONFIGS_FILE}"; echo;)
}

_send_notification() {
Expand Down

0 comments on commit 854af21

Please sign in to comment.