From 9aa5a3d958db68af30561c1be87f20ec6613c68e Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sat, 10 Dec 2022 03:02:26 +0100 Subject: [PATCH] Client: Unknown command should return nonzero errorcode --- client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);