diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-02-03 13:50:35 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-02-03 13:58:08 +0100 |
commit | e88c1e1781f453db2de6ea46cc574c237c042a6a (patch) | |
tree | 3e8e3836d40fe2050e5b99462a5e9f3e7ec6c7e9 /network | |
parent | 05d1c04cf9e5916de8550115dc578e91d29651cd (diff) |
Small style cleanup
* Add whitespace to arithmetic expressions.
* Use boolean logic for semantically boolean variables.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'network')
-rwxr-xr-x | network | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -260,7 +260,7 @@ case "$1" in else network_up fi - if ((error == 0)); then + if (( ! error )); then add_daemon network stat_done else @@ -296,7 +296,7 @@ case "$1" in else network_down fi - if ((error == 0)); then + if (( ! error )); then stat_done else stat_fail |