Welcome to little lamb

Code » anopa » commit 2b7319c

start/stop: Don't skip remaining ids if ftrigr_check() fails

author Olivier Brunel
2017-01-27 18:18:18 UTC
committer Olivier Brunel
2017-06-18 12:28:41 UTC
parent 37f7ee45cf902d358e600a181f1abb3ea4742a76

start/stop: Don't skip remaining ids if ftrigr_check() fails

src/anopa/start-stop.c +4 -1

diff --git a/src/anopa/start-stop.c b/src/anopa/start-stop.c
index 78f1643..62b1ac7 100644
--- a/src/anopa/start-stop.c
+++ b/src/anopa/start-stop.c
@@ -1314,7 +1314,10 @@ mainloop (aa_mode mode, aa_scan_cb scan_cb)
                         aa_strerr_warnu3sys ("get (",
                                 (r == -1) ? "update" : "check",
                                 ") longrun information");
-                        break;
+                        if (r == -1)
+                            break;
+                        else
+                            continue;
                     }
                     else if (r == 0)
                         break;