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 15:22:06 +0000 (11:22 -0400)
commit5f09aaf192b1975f219fa900a3d17fe53e7198fe
treeff0507de4559c0b9a19a2f299a8815e091e99787
parent7e295ba7ed0cb70a88278683ed359981054a5e5c
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.02534 seconds and 4 git commands to generate.