X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fprocess-utils.c;h=2d629b547e396dd1eee8ff1f3c6cc5aecaaa21d5;hp=a9cef051f554d68af7bedea374c422699022593f;hb=412d7227e69ec845e44c49082a417f9454d9b55d;hpb=abcdc00cea4a7b354509b3547a8ddd581a9d5dfa diff --git a/src/bin/lttng-sessiond/process-utils.c b/src/bin/lttng-sessiond/process-utils.c index a9cef051f..2d629b547 100644 --- a/src/bin/lttng-sessiond/process-utils.c +++ b/src/bin/lttng-sessiond/process-utils.c @@ -18,15 +18,15 @@ void sessiond_signal_parents(void) * for client side. This ppid is the one from the * external process that spawned us. */ - if (config.sig_parent) { - kill(ppid, SIGUSR1); + if (the_config.sig_parent) { + kill(the_ppid, SIGUSR1); } /* * Notify the parent of the fork() process that we are * ready. */ - if (config.daemonize || config.background) { - kill(child_ppid, SIGUSR1); + if (the_config.daemonize || the_config.background) { + kill(the_child_ppid, SIGUSR1); } }