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

Commit 5eeeb88

Browse files
author
Daryl Lozupone
committed
Add simple return codes
#10
1 parent 0d73ce1 commit 5eeeb88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

guest/cli/box

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,12 @@ fi
6464

6565
if [[ $error -eq 0 ]]; then
6666
echo_if_not_quiet "$*" "*The '$1' command completed without error."
67+
exit 0
6768
else
6869
echo -e "\t"
6970
echo "The '$1' command terminated WITH ERRORS."
7071
echo -e "\t"
72+
exit 1
7173
fi
7274

7375
#check_updates_available "$*"
74-

0 commit comments

Comments
 (0)