git.slaskete.net
/
einar-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dd12cf4
)
Cooler incrementation of the FAIL counter
author
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Sun, 1 Jun 2014 21:58:00 +0000
(23:58 +0200)
committer
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Sun, 1 Jun 2014 21:58:00 +0000
(23:58 +0200)
imgurgame.bash
patch
|
blob
|
history
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
}