Skip to content

Commit

Permalink
Do not initialize logs when gstd is invoked to kill the daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgruner committed Aug 5, 2022
1 parent 62131b9 commit f232198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gstd/gstd.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ main (gint argc, gchar * argv[])
}

if (daemon || kill) {
if (!gstd_log_init (gstdlogfile, gstlogfile, !nolog)) {
if (!gstd_log_init (gstdlogfile, gstlogfile, !nolog && !kill)) {
ret = EXIT_FAILURE;
goto out;
}
Expand Down

0 comments on commit f232198

Please sign in to comment.