summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2022-12-10 03:02:26 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2022-12-10 03:02:26 +0100
commit1124f39f731610687eb8fdd6d7079c20063809c1 (patch)
tree63b8db97a23ab2cf82c17175d2f949facbb3128b
parente48f898fdaf06b61754ae520410729a9984ab65b (diff)
Client: Unknown command should return nonzero errorcode
-rw-r--r--client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.c b/client/client.c
index 934e16e0..397db73d 100644
--- a/client/client.c
+++ b/client/client.c
@@ -153,7 +153,7 @@ submit_init_command(char *cmd_raw)
if (!cmd)
{
cleanup();
- exit(0);
+ exit(1);
}
submit_server_command(cmd);