diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-29 02:33:32 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-29 02:33:32 (EDT) |
commit | 213de815be275663aec88d527a17f0e48b23ae1d (patch) | |
tree | d144b7c90c1f18c1d87a4cbbe37d25eff7f6e755 | |
parent | d73591bd0c702502049e13347e3c98d0846f0b10 (diff) |
main(): Use EXIT_FAILURE instead of 1
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,6 +20,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include <string.h> #include "commands.h" @@ -35,7 +36,7 @@ main(int argc, char **argv) { if (argc < 2 || strcmp(argv[1], "s_client") != 0) { usage(stderr, argv[0]); - return 1; + return EXIT_FAILURE; } return s_client(argc - 2, argv + 2); |