From 7fe6d2c57f3b8197c8d910920151d41911fdf4c3 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 12 Nov 2013 09:56:45 -0500 Subject: [PATCH] Fix: typo in --sig-parent help Signed-off-by: David Goulet --- doc/man/lttng-sessiond.8 | 2 +- src/bin/lttng-sessiond/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.34.1