Fix BATS testing on WSL

The $openopt resulted in unexpected results during testing
This commit is contained in:
Frank Fesevur 2017-11-01 16:45:25 +01:00
parent 363d054386
commit 7c0e5bf092

View file

@ -137,6 +137,8 @@ esac
# Allow printing the url if BROWSER=echo
if [[ $BROWSER != "echo" ]]; then
exec &>/dev/null
else
unset openopt
fi
# open it in a browser