]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Terminate batch processing in chronyc on quit command
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 7 May 2013 14:59:56 +0000 (16:59 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 7 May 2013 15:01:16 +0000 (17:01 +0200)
client.c

index 64c743f9393c277c04cb060bb852fb743e4b3262..ecaa819f8416c94cc531232a809d2c8fb0612e20 100644 (file)
--- a/client.c
+++ b/client.c
@@ -2773,7 +2773,7 @@ process_args(int argc, char **argv, int multi)
     }
 
     ret = process_line(line, &quit);
-    if (!ret)
+    if (!ret || quit)
       break;
   }