git.slaskete.net
/
einar-bin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cooler incrementation of the FAIL counter
[einar-bin]
/
imgurgame.bash
diff --git
a/imgurgame.bash
b/imgurgame.bash
index 763592987fe03b20b708abefc42aad6b25f1f81c..d1f9fdd4688594de2bccd1dce5689d2e746d1550 100755
(executable)
--- a/
imgurgame.bash
+++ b/
imgurgame.bash
@@
-31,7
+31,7
@@
main() {
${BROWSER} ${URL} > /dev/null 2>&1
local FAIL=0
else
${BROWSER} ${URL} > /dev/null 2>&1
local FAIL=0
else
-
FAIL=$(( ${FAIL}+1
))
+
((FAIL++
))
fi
done
}
fi
done
}