diff options
-rwxr-xr-x | wgetpaste | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -105,8 +105,10 @@ converttoraw() { if [[ -n ${!regex} ]]; then RAWURL=$(sed -e "${!regex}" <<< "$URL") [[ -n $RAWURL ]] && return 0 + echo "Convertion to raw url failed." >&2 + else + echo "Raw download of pastes is not supported by $(getrecipient)." >&2 fi - echo "Raw download of pastes is not supported by $(getrecipient)." >&2 return 1 } |