URL: https://github.com/SSSD/sssd/pull/5733
Author: joakim-tjernlund
 Title: #5733: Work around issue #5729
Action: opened

PR body:
"""
Handles unexpected errors by sssd --genconf
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5733/head:pr5733
git checkout pr5733
From e3510ca54adbbc13a2bc0933dcf4052c2a6c3151 Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <joakim.tjernl...@infinera.com>
Date: Tue, 3 Aug 2021 12:54:26 +0200
Subject: [PATCH] Work around issue #5729

---
 src/sysv/gentoo/sssd-kcm.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sysv/gentoo/sssd-kcm.in b/src/sysv/gentoo/sssd-kcm.in
index c9242bf9fb..28527fc4cf 100644
--- a/src/sysv/gentoo/sssd-kcm.in
+++ b/src/sysv/gentoo/sssd-kcm.in
@@ -10,7 +10,8 @@ pidfile="@pidpath@/sssd_kcm.pid"
 
 start_pre()
 {
-    "@sbindir@/sssd" --genconf-section=kcm || return $?
+    "@sbindir@/sssd" --genconf-section=kcm
+    return 0
 }
 
 depend()
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to