summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/sss_debuglevel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/sss_debuglevel.c b/src/tools/sss_debuglevel.c
index 38262ddad..f3fc045bb 100644
--- a/src/tools/sss_debuglevel.c
+++ b/src/tools/sss_debuglevel.c
@@ -351,7 +351,8 @@ errno_t get_sssd_pid(pid_t *out_pid)
if (*out_pid == 0) {
DEBUG(SSSDBG_CRIT_FAILURE,
("File \"%s\" contains invalid pid.\n", SSSD_PIDFILE));
- return EINVAL;
+ ret = EINVAL;
+ goto done;
}
ret = EOK;