From 47b7a9496189ab86a47bdf6d37e6e3020acbc395 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Tue, 9 Jun 2015 22:16:22 -0300 Subject: [PATCH] Enabling other spaces on hosts file --- bin/selenium-run.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/selenium-run.bash b/bin/selenium-run.bash index a3c8c66..a4da1ba 100755 --- a/bin/selenium-run.bash +++ b/bin/selenium-run.bash @@ -24,7 +24,7 @@ fi ## Host File bug sanity check -grep '127.0.0.1 localhost' /etc/hosts > /dev/null +grep -P '127.0.0.1\s*localhost' /etc/hosts > /dev/null if [[ $? != 0 ]] then echo "