Fix typo in lttng cli comments
authorDavid Goulet <dgoulet@efficios.com>
Tue, 24 Jan 2012 18:53:16 +0000 (13:53 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 24 Jan 2012 18:53:16 +0000 (13:53 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/lttng.c

index 64f3efa446530ed61663c9434eb77251cc923c91..6e16995a9d71a88e332e8f616e8971acb7628a75 100644 (file)
@@ -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();
This page took 0.02584 seconds and 4 git commands to generate.