Skip to content

Commit

Permalink
Fix quoting in the error function
Browse files Browse the repository at this point in the history
Needed to quote array expansion.
  • Loading branch information
admorgan committed Jul 9, 2024
1 parent 70b31ab commit c9ec2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git-subrepo
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ usage-error() {

# Nicely report common error messages:
error() {
echo -e "git-subrepo:" $@ >&2
echo -e "git-subrepo:" "$@" >&2
exit 1
}

Expand Down

0 comments on commit c9ec2a6

Please sign in to comment.