Add exit option

This commit is contained in:
Luis Guzmán 2020-06-29 14:26:03 -05:00
parent 64a974a62f
commit 21e094c0bb
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ else
read -p "> Do you want to continue?: (yes or no)"$'\n' -r CONTINUE_LOW_RES read -p "> Do you want to continue?: (yes or no)"$'\n' -r CONTINUE_LOW_RES
if [ "$CONTINUE_LOW_RES" = "no" ]; then if [ "$CONTINUE_LOW_RES" = "no" ]; then
echo "See you next time with more resources!..." echo "See you next time with more resources!..."
exit
elif [ "$CONTINUE_LOW_RES" = "yes" ]; then elif [ "$CONTINUE_LOW_RES" = "yes" ]; then
echo "Please keep in mind that trying to use Jibri with low resources might fail." echo "Please keep in mind that trying to use Jibri with low resources might fail."
fi fi