summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-20 00:39:25 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-21 01:04:39 +0200
commitf52020ea99f59eae3537a22bb23305da90af310b (patch)
tree17dec4e36fc65521d6efecd30c691aa2ad8ae31d /gnu
parent7d1d5e16da6f1b37b3e0c16adf44b8e305e1e5db (diff)
downloadguix-f52020ea99f59eae3537a22bb23305da90af310b.tar.gz
system: pam: Change 'stop' method to return #f.
When the 'stop' method returns a truth value, shepherd interprets it as
potential failure and logs it.

* gnu/system/pam.scm (pam-shepherd-service): Change 'stop' method to
return #f.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/pam.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/pam.scm b/gnu/system/pam.scm
index adc40c975f..a035a92e25 100644
--- a/gnu/system/pam.scm
+++ b/gnu/system/pam.scm
@@ -395,7 +395,7 @@ started for PAM to work.")
             (provision '(pam))
             (requirement shepherd-requirements)
             (start #~(const #t))
-            (stop #~(const #t)))))))
+            (stop #~(const #f)))))))
 
 (define (extend-configuration initial extensions)
   "Extend INITIAL with NEW."