summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-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 38262dda..f3fc045b 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;