fix a shell typo that generated a bogus file

This commit is contained in:
Thirnearez 2017-10-06 18:43:15 +00:00 committed by Adam Tauber
parent e2afc1cdba
commit 2790402060

View file

@ -22,7 +22,7 @@ install_geckodriver() {
echo '[!] Checking geckodriver'
# TODO : check the current geckodriver version
set -e
geckodriver -V 2>1 > /dev/null || NOTFOUND=1
geckodriver -V > /dev/null 2>&1 || NOTFOUND=1
set +e
if [ -z $NOTFOUND ]; then
return