From e53a1cbca246c0aec51d0d80531cc92e0b5c0e2d Mon Sep 17 00:00:00 2001 From: Jean-Baptiste VESLIN <19856429+thebaptiste@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:20:57 +0100 Subject: [PATCH] fix: break out in case of write problem (fix #44) --- src/log_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log_proxy.c b/src/log_proxy.c index 9e01bba..c742dec 100644 --- a/src/log_proxy.c +++ b/src/log_proxy.c @@ -263,7 +263,7 @@ int main(int argc, char *argv[]) if (write_status == FALSE) { g_warning("error during write on: %s", log_file); init_or_reinit_output_channel(log_file, use_locks); - continue; + break; } break; }