From 67cab8b72aa8ef13ec50fad1125a50f5fb7ca5bb Mon Sep 17 00:00:00 2001 From: Lars The Date: Thu, 5 Sep 2024 11:00:27 +0200 Subject: [PATCH] LOG the running mode Print in the log the running mode: background/foreground --- src/minisatip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/minisatip.c b/src/minisatip.c index f8a9a1eddb..c9e66e0eb9 100644 --- a/src/minisatip.c +++ b/src/minisatip.c @@ -1889,6 +1889,7 @@ int main(int argc, char *argv[]) { } if (opts.daemon) becomeDaemon(); + LOG("Running mode: %s", opts.daemon ? "background" : "foreground"); if (opts.slog) openlog(app_name, LOG_NDELAY | LOG_NOWAIT | LOG_PID |