statd-callout: Fix a bug in the calculations of $STATE
authorMartin Schwenke <martin@meltin.net>
Thu, 5 Jul 2012 06:27:54 +0000 (16:27 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 26 Jul 2012 11:24:15 +0000 (21:24 +1000)
commit25d45e69f4ffc2b26061ac13038d52a353e79e61
tree6e3f4b82b21651e806295175710dca804c296799
parent624f4677e99ed1710a0ace76201150349b1a0335
statd-callout: Fix a bug in the calculations of $STATE

It is just meant to be even, so divided *and* multiplied by 2.  Use
$(( )) to make it more readable.

While touching this code, make the related calculation a bit more
readable too.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/statd-callout