From 4f3168c092043c3ad2b20574e42221b18dba822e Mon Sep 17 00:00:00 2001 From: Emre Akkaya Date: Mon, 27 Jun 2016 12:20:09 +0300 Subject: [PATCH] Update pam_script_ses_open --- usr/share/libpam-script/pam_script_ses_open | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/share/libpam-script/pam_script_ses_open b/usr/share/libpam-script/pam_script_ses_open index 817a380..00b5450 100755 --- a/usr/share/libpam-script/pam_script_ses_open +++ b/usr/share/libpam-script/pam_script_ses_open @@ -18,11 +18,11 @@ if [ -n $PAM_USER ] && [ $PAM_USER != "root" ]; then if ([ -n $PAM_SERVICE ] && [[ $PAM_SERVICE == *"dm" ]]) || ([ -n $PAM_TTY ] && [[ $PAM_TTY == ":"* ]]); then SERVICE="none" if [ -n $PAM_SERVICE ]; then - $SERVICE="$PAM_SERVICE" + SERVICE="$PAM_SERVICE" fi TTY_DISPLAY="none" if [ -n $PAM_TTY ]; then - $TTY_DISPLAY="$PAM_TTY" + TTY_DISPLAY="$PAM_TTY" fi log "login: $PAM_USER service: $SERVICE tty: $TTY_DISPLAY" sudo python3 /opt/ahenk/ahenkd.py login $PAM_USER $SERVICE $TTY_DISPLAY