From: David Goulet Date: Wed, 26 Mar 2014 15:01:25 +0000 (-0400) Subject: Print message on a successful load command X-Git-Tag: v2.5.0-rc1~88 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=279d6193584da91b968c0232dd9b2ab5c722656b;p=lttng-tools.git Print message on a successful load command Fixes #754 Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/commands/load.c b/src/bin/lttng/commands/load.c index 4d38c792b..1d0e42bdc 100644 --- a/src/bin/lttng/commands/load.c +++ b/src/bin/lttng/commands/load.c @@ -105,6 +105,12 @@ int cmd_load(int argc, const char **argv) if (ret) { ERR("%s", lttng_strerror(ret)); ret = -ret; + } else { + if (opt_load_all) { + MSG("All sessions have been loaded successfully"); + } else { + MSG("Session %s has been loaded successfully", session_name); + } } end: poptFreeContext(pc);