Commit 931660d3 authored by Dylan Araps's avatar Dylan Araps

Remove pointless if

"
parent bc906abb
...@@ -2294,11 +2294,7 @@ scrot_upload() { ...@@ -2294,11 +2294,7 @@ scrot_upload() {
;; ;;
esac esac
if [ "$image_url" ]; then printf "%s\n" "${image_url:-'[!] Image failed to upload'}"
printf "%s\n" "$image_url"
else
printf "%s\n" "[!] Image failed to upload"
fi
} }
# }}} # }}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment