From dd12cf43d2c38d6d15c45f75523413a18d16952a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Einar=20J=C3=B8rgen=20Haraldseid?= Date: Sun, 1 Jun 2014 23:36:40 +0200 Subject: [PATCH] Y U NO QUOTE? --- imgurgame.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgurgame.bash b/imgurgame.bash index 66bbe4e..7635929 100755 --- a/imgurgame.bash +++ b/imgurgame.bash @@ -15,7 +15,7 @@ imgururl() { testimgur() { local URL=${1} local RESULT=$(curl -s -o /dev/null -I -w "%{http_code}" ${URL}) - if [[ ${RESULT} == 200 ]]; then + if [[ ${RESULT} == "200" ]]; then echo true else echo false -- 2.30.2