From 4111dae40affd9355a92c91ee2c45a71f901ee19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Einar=20J=C3=B8rgen=20Haraldseid?= Date: Sun, 1 Jun 2014 23:58:00 +0200 Subject: [PATCH] Cooler incrementation of the FAIL counter --- imgurgame.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgurgame.bash b/imgurgame.bash index 7635929..d1f9fdd 100755 --- a/imgurgame.bash +++ b/imgurgame.bash @@ -31,7 +31,7 @@ main() { ${BROWSER} ${URL} > /dev/null 2>&1 local FAIL=0 else - FAIL=$(( ${FAIL}+1 )) + ((FAIL++)) fi done } -- 2.30.2