From 287e02d796c5913b4eccc42d6de5b28f80e9db2a Mon Sep 17 00:00:00 2001 From: Fengtan Date: Tue, 30 Jun 2015 17:35:25 -0400 Subject: [PATCH] Fix Selenium not starting. --- headless-selenium | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headless-selenium b/headless-selenium index 41457cb..2e6a0d3 100755 --- a/headless-selenium +++ b/headless-selenium @@ -132,7 +132,7 @@ case "${1:-''}" in fi # If we come out of the loop with 2... there's a problem. - if [[ $num -eq 2 || $num -eq 3 ]] + if [[ $num -eq 2 || $num -eq 1 ]] then echo "${bon}Error $error! Couldn't start Selenium!${boff}" sleep 1