Remove pointless if
"
This commit is contained in:
parent
bc906abb4e
commit
931660d31a
1 changed files with 1 additions and 5 deletions
6
neofetch
6
neofetch
|
@ -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'}"
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
|
Loading…
Reference in a new issue