summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 44d831d..f69f4e3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -180,7 +180,7 @@ static int parse_argv(int argc, char **argv)
case 'h':
puts("usage: " PROGRAM_NAME " [-h] [-v] [-p PORT] [-l LISTS-FILE]");
- exit();
+ exit(0);
case 'p':
config.port = atoi(optarg);