diff --git a/view1090.c b/view1090.c index 51bce9c..ae925f5 100644 --- a/view1090.c +++ b/view1090.c @@ -226,6 +226,9 @@ int main(int argc, char **argv) { interactiveShowData(); if (s->connections == 0) { + if (!Modes.interactive) + break; + // lost input connection, try to reconnect interactiveNoConnection(); sleep(1);