mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Joel Grunbaum
2021-09-18 095fd9d705e7aca78efda1b6510d9e5f83b843af
test-email returns curl return code
1 files modified
4 ■■■ changed files
main.sh 4 ●●● patch | view | raw | blame | history
main.sh
@@ -351,6 +351,7 @@
            echo "There were build errors for the build of $REPONAME at $(date), please address them soon."
            echo "The errors were: $@"
        )
    return $?
}
case $1 in
@@ -365,7 +366,8 @@
    "check")
        check;;
    "test-mail")
        send_email;;
        send_email
        exit $?;;
    *)
        echo -e "\033[0;31mInvalid usage\033[0m"
        echo -e "Usage: $0 init|check|add|remove|build-all"