]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Client: Unknown command should return nonzero errorcode
authorOndrej Zajicek <santiago@crfreenet.org>
Sat, 10 Dec 2022 02:02:26 +0000 (03:02 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Sat, 10 Dec 2022 02:02:26 +0000 (03:02 +0100)
client/client.c

index 934e16e0697cae5a0ddaf138d7e9d02bb13c5269..397db73d4873ade08cf0a9f79fdf9e8571c816c7 100644 (file)
@@ -153,7 +153,7 @@ submit_init_command(char *cmd_raw)
   if (!cmd)
   {
     cleanup();
-    exit(0);
+    exit(1);
   }
 
   submit_server_command(cmd);