Browse Source

all.sh exit 1 when error

main
pvincent 2 weeks ago
parent
commit
6e68542aae
  1. 2
      all.sh

2
all.sh

@ -21,10 +21,10 @@ if [[ -f .errors ]]; then
echo -e " \e[0;31m$count\e[0m errors detected!"
echo -e "--------------------"
cat .errors
exit 1
else
echo -e "\e[0;32m------------------------\e[0m"
echo -e "everything 's \e[0;32mall right!\e[0m"
echo -e "\e[0;32m------------------------\e[0m"
fi
fi
Loading…
Cancel
Save