]> git.lttng.org Git - lttng-tools.git/commitdiff
Clean-up: lttng-consumerd: Replace `exit()` with `return`
authorKienan Stewart <kstewart@efficios.com>
Thu, 28 Nov 2024 20:35:06 +0000 (15:35 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 18 Dec 2024 15:56:30 +0000 (15:56 +0000)
Change-Id: I64f4c24780ef7cb5fd016dfb8f43cbb6a6f1dfb0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.cpp

index e46b6b6716ccddecea67ff43e0295ca364287d9f..0ab1940a20823d80f4dc49008477a8817f6d8b47 100644 (file)
@@ -711,8 +711,8 @@ exit_set_signal_handler:
        rcu_unregister_thread();
 
        if (!retval) {
-               exit(EXIT_SUCCESS);
+               return EXIT_SUCCESS;
        } else {
-               exit(EXIT_FAILURE);
+               return EXIT_FAILURE;
        }
 }
This page took 0.028884 seconds and 4 git commands to generate.