Skip to content

Commit

Permalink
LOG the running mode
Browse files Browse the repository at this point in the history
Print in the log the running mode: background/foreground
  • Loading branch information
lars18th authored and Jalle19 committed Sep 5, 2024
1 parent d1a668b commit 67cab8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/minisatip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 67cab8b

Please sign in to comment.