diff options
-rw-r--r-- | debian/local/pam-auth-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index ac00b1c9..ca1cb36d 100644 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -735,7 +735,7 @@ sub parse_pam_profile } } close(PROFILE); - if (!defined($profile{'Session-Interactive-Only'})) { + if (!defined($profile{'Session-Interactive-Only'}) or $profile{'Session-Interactive-Only'} ne 'yes') { $profile{'Session-noninteractive-Type'} = $profile{'Session-Type'}; $profile{'Session-noninteractive'} = $profile{'Session'}; $profile{'Session-noninteractive-Initial'} = $profile{'Session-Initial'}; |