git-fork: Let curl exit with error code on fail

This commit is contained in:
Adriaan Zonnenberg 2017-04-27 18:44:20 +02:00 committed by GitHub
parent 4917796d63
commit bd8545f748

View file

@ -31,7 +31,7 @@ fi
[ -z "$project" -o -z "$owner" ] && abort "github repo needs to be specified as an argument"
# create fork
curl -qs \
curl -qsf \
-X POST \
-u "$user" \
-H "X-GitHub-OTP: $MFA_CODE" \