From: David Goulet Date: Tue, 12 Nov 2013 14:56:45 +0000 (-0500) Subject: Fix: typo in --sig-parent help X-Git-Tag: v2.4.0-rc1~54 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7fe6d2c57f3b8197c8d910920151d41911fdf4c3;p=lttng-tools.git Fix: typo in --sig-parent help Signed-off-by: David Goulet --- diff --git a/doc/man/lttng-sessiond.8 b/doc/man/lttng-sessiond.8 index 347bffcaa..ade2e66b5 100644 --- a/doc/man/lttng-sessiond.8 +++ b/doc/man/lttng-sessiond.8 @@ -63,7 +63,7 @@ Specify the tracing group name. (default: tracing) Show version number .TP .BR "-S, --sig-parent" -Send SIGCHLD to parent pid to notify readiness. +Send SIGUSR1 to parent pid to notify readiness. This is used by \fBlttng(1)\fP to get notified when the session daemon is ready to accept command. When building a third party tool over liblttng-ctl, this option diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 71291f7c5..963f75e49 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -3921,7 +3921,7 @@ static void usage(void) fprintf(stderr, " -d, --daemonize Start as a daemon.\n"); fprintf(stderr, " -g, --group NAME Specify the tracing group name. (default: tracing)\n"); fprintf(stderr, " -V, --version Show version number.\n"); - fprintf(stderr, " -S, --sig-parent Send SIGCHLD to parent pid to notify readiness.\n"); + fprintf(stderr, " -S, --sig-parent Send SIGUSR1 to parent pid to notify readiness.\n"); fprintf(stderr, " -q, --quiet No output at all.\n"); fprintf(stderr, " -v, --verbose Verbose mode. Activate DBG() macro.\n"); fprintf(stderr, " -p, --pidfile FILE Write a pid to FILE name overriding the default value.\n");