This happens because pbpst does not check the HTTP status code response from pb on -Ru. Instead, if the status code returned from curl_easy_perform() is CURLE_OK, it assumes everything went as-planned.
The best way to solve this would be to check that the HTTP response code for -Ru is 200 (at which point, we know that there was a paste and that it was deleted).
This happens because
pbpst
does not check the HTTP status code response frompb
on-Ru
. Instead, if the status code returned fromcurl_easy_perform()
isCURLE_OK
, it assumes everything went as-planned.The best way to solve this would be to check that the HTTP response code for
-Ru
is200
(at which point, we know that there was a paste and that it was deleted).