From 1124f39f731610687eb8fdd6d7079c20063809c1 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sat, 10 Dec 2022 03:02:26 +0100 Subject: Client: Unknown command should return nonzero errorcode --- client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/client.c') 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); -- cgit v1.2.3