Remove unused code and fix double-negation (#153)

This commit is contained in:
Sowmiya M 2022-07-19 02:00:13 +05:30 committed by GitHub
parent 0b6b0a2b40
commit f11ced9a4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,10 +268,5 @@ if (( print_only )); then
BROWSER="echo"
fi
# Allow printing the url if BROWSER=echo
if [[ $BROWSER != "echo" ]]; then
exec &>/dev/null
fi
# open it in a browser
${BROWSER:-$open} "$openurl"