Fix: sessiond: kernel: invalid error code check
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Apr 2021 15:55:26 +0000 (11:55 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 11 May 2021 17:23:53 +0000 (13:23 -0400)
commitfd5f765ddad09f7f0395544bfa2b4ea5f624966a
tree9f6cc93c8087fd4f6a5c039b65ed714074c66784
parentc124970bc6f688ba8e13cf21cc9933e291cbb76a
Fix: sessiond: kernel: invalid error code check

The `EEXIST` error code does not make sense for a kernctl_disable()
operation. In fact, not existing would be an error.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I8f66c6d6769a4a10e8ff446736c6a7d55a9c32be
src/bin/lttng-sessiond/kernel.c
This page took 0.026045 seconds and 4 git commands to generate.