Skip to content

Commit

Permalink
Echo output correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
darrynten committed Feb 20, 2020
1 parent 115c1ed commit b0bbc9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -e
function check() {
if [[ -z "$(git status --porcelain)" ]];
then
return 1
echo "0"
else
return 0
echo "1"
fi
}

$(check)
echo $(check)

0 comments on commit b0bbc9e

Please sign in to comment.