summaryrefslogtreecommitdiff
path: root/src/pam-module.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-29 02:46:20 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-29 02:46:20 +0200
commitc36eecdfcb4afa09850002fbb81a95a24ffde599 (patch)
treecfa98e5932514f8acc83bcb7e934c2ead3e218ab /src/pam-module.c
parent8fa365e5864c85bae31207c4c2ece4dc7b5b9136 (diff)
man: update pam_systemd page to document new behaviour
Diffstat (limited to 'src/pam-module.c')
-rw-r--r--src/pam-module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pam-module.c b/src/pam-module.c
index 90da898ff8..a15b4cae1c 100644
--- a/src/pam-module.c
+++ b/src/pam-module.c
@@ -57,9 +57,9 @@ static int parse_argv(pam_handle_t *handle,
for (i = 0; i < (unsigned) argc; i++) {
int k;
- if (startswith(argv[i], "kill-processes=")) {
- if ((k = parse_boolean(argv[i] + 15)) < 0) {
- pam_syslog(handle, LOG_ERR, "Failed to parse kill-processes= argument.");
+ if (startswith(argv[i], "kill-session-processes=")) {
+ if ((k = parse_boolean(argv[i] + 23)) < 0) {
+ pam_syslog(handle, LOG_ERR, "Failed to parse kill-session-processes= argument.");
return k;
}