Print message on a successful load command
[lttng-tools.git] / src / bin / lttng / commands / load.c
index 4d38c792b82cc4e9ffe69253b04457410906eb9a..1d0e42bdc5f4ed1c60667ebb72cfbdcea297201d 100644 (file)
@@ -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);
This page took 0.022823 seconds and 4 git commands to generate.