diff --git a/src/home/pam_systemd_home.c b/src/home/pam_systemd_home.c index e94f80a380..3d7ccdf3c2 100644 --- a/src/home/pam_systemd_home.c +++ b/src/home/pam_systemd_home.c @@ -52,9 +52,12 @@ static int parse_argv( else if (please_suspend) *please_suspend = k; + } else if (streq(argv[i], "debug")) { + if (debug) + *debug = true; + } else if ((v = startswith(argv[i], "debug="))) { int k; - k = parse_boolean(v); if (k < 0) pam_syslog(handle, LOG_WARNING, "Failed to parse debug= argument, ignoring: %s", v);