change polarity of test for BROWSER

This commit is contained in:
David Crook 2021-11-16 10:49:33 -07:00 committed by Kaleb Elwert
parent 7f8b9b829a
commit ecaed1cfa7
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ file="$3"
if [[ -n "$url" ]]; then
url="$url/tree/$reference/$file"
if [[ -z "$BROWSER" ]]; then
if [[ -n "$BROWSER" ]]; then
"$BROWSER" "$url"
return 0
else