check code not data
This commit is contained in:
parent
32268cd2a9
commit
de4a821af5
@ -307,7 +307,7 @@ if [ $TRANSFER ] ; then
|
||||
fi
|
||||
if [ $DELETEIT ] ; then
|
||||
if [ $DEBUG ] ; then echo "Deleting $SOURCEORG/$TARGETPKG" ; fi
|
||||
RESPONSE=$(curl "$checkSSL" "$SILENT" -X 'DELETE' \
|
||||
RESPONSE=$(curl "$checkSSL" "$SILENT" -o /dev/null -w "%{http_code}" -X 'DELETE' \
|
||||
"$GITEAHOST/api/v1/repos/$SOURCEORG/$TARGETPKG" \
|
||||
-H 'accept: application/json' \
|
||||
-H "Authorization: token $GITEAACCESSTOKEN" )
|
||||
|
Loading…
Reference in New Issue
Block a user