mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git-fork: Let curl exit with error code on fail
This commit is contained in:
parent
4917796d63
commit
bd8545f748
|
|
@ -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" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue