diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index f7c21a4..9568f34 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -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" )