Remove pointless if

"
This commit is contained in:
Dylan Araps 2016-10-26 15:38:45 +11:00
parent bc906abb4e
commit 931660d31a

View file

@ -2294,11 +2294,7 @@ scrot_upload() {
;;
esac
if [ "$image_url" ]; then
printf "%s\n" "$image_url"
else
printf "%s\n" "[!] Image failed to upload"
fi
printf "%s\n" "${image_url:-'[!] Image failed to upload'}"
}
# }}}