From: Einar Jørgen Haraldseid Date: Sun, 1 Jun 2014 21:58:00 +0000 (+0200) Subject: Cooler incrementation of the FAIL counter X-Git-Url: https://git.slaskete.net/einar-bin/commitdiff_plain/4111dae40affd9355a92c91ee2c45a71f901ee19?hp=dd12cf43d2c38d6d15c45f75523413a18d16952a Cooler incrementation of the FAIL counter --- 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 }