From: David Goulet Date: Tue, 24 Jan 2012 18:53:16 +0000 (-0500) Subject: Fix typo in lttng cli comments X-Git-Tag: v2.0-pre19~55 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4666e71c222a7348dd8134e2533027edff16d6a0;p=lttng-tools.git Fix typo in lttng cli comments Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index 64f3efa44..6e16995a9 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -494,8 +494,9 @@ int main(int argc, char *argv[]) progname = argv[0] ? argv[0] : "lttng"; /* For Mathieu Desnoyers aka Dr Tracing */ - if (strncmp(progname, "drtrace", 7) == 0) { - MSG("%c[%d;%dmWelcome back Dr Tracing!%c[%dm\n\n", 27,1,33,27,0); + if (strncmp(progname, "drtrace", 7) == 0 || + strncmp("compudj", getenv("USER"), 7) == 0) { + MSG("%c[%d;%dmWelcome back Dr Tracing!%c[%dm\n", 27,1,33,27,0); } ret = set_signal_handler();