Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from wplib/10-implement-return-codes
Browse files Browse the repository at this point in the history
Add simple return codes
  • Loading branch information
mikeschinkel authored Aug 31, 2016
2 parents 0d73ce1 + 5eeeb88 commit 18eb21c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guest/cli/box
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ fi

if [[ $error -eq 0 ]]; then
echo_if_not_quiet "$*" "*The '$1' command completed without error."
exit 0
else
echo -e "\t"
echo "The '$1' command terminated WITH ERRORS."
echo -e "\t"
exit 1
fi

#check_updates_available "$*"

0 comments on commit 18eb21c

Please sign in to comment.