Skip to content

Commit

Permalink
Exit with the correct code when an argument isn't known.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyLemon committed Oct 4, 2024
1 parent ca12fbf commit 140104d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changelog/add-change.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ while [[ "$#" -gt '0' ]]; do
id_sect_2="$1"
else
printf 'Unknown argument: [%s]. An <id> and <section> were already provided.\n' "$1"
exit
exit 1
fi
else
printf 'Unknown argument: [%s].\n' "$1"
Expand Down

0 comments on commit 140104d

Please sign in to comment.