Skip to content

Commit

Permalink
fix: correct parm expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed May 2, 2022
1 parent 4655227 commit 038aee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calliope.sh
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ commit_changes ()
exit -1
else
encrypt_all && remove_unencrpyted
echo "Committing changes to repository with commit message ${commit_message:-default_commit_message}"
echo "Committing changes to repository with commit message ${commit_message:-$default_commit_message}"
git add .
if ! git commit -m "${commit_message:-default_commit_message}"
if ! git commit -m "${commit_message:-$default_commit_message}"
then
echo "Commit failed. Please check the output and commit manually."
exit -1
Expand Down

0 comments on commit 038aee4

Please sign in to comment.