diff options
author | Richard Braun <rbraun@sceen.net> | 2016-12-09 00:49:25 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2016-12-09 00:49:25 +0100 |
commit | 7d18174be52718790dd8f41ec21c681a407adfdf (patch) | |
tree | 1c414ac69d46457fa2fbaf9413c7e662e247bc08 /test/test_shell.c | |
parent | 584a219576a6d95fb30e5b87fb6a37a7d819a110 (diff) |
Force brackets around one-line conditional statements
Diffstat (limited to 'test/test_shell.c')
-rw-r--r-- | test/test_shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_shell.c b/test/test_shell.c index 866ae5f..c26e545 100644 --- a/test/test_shell.c +++ b/test/test_shell.c @@ -99,8 +99,9 @@ main(int argc, char *argv[]) for (i = 0; i < ARRAY_SIZE(test_shell_cmds); i++) { ret = shell_cmd_register(&test_shell_cmds[i]); - if (ret) + if (ret) { error_die(ret); + } } setbuf(stdin, NULL); |