From 54dd284d45defc187dd2677a8fa38393b53ea65b Mon Sep 17 00:00:00 2001 From: Pavel Muhortov Date: Sun, 24 Dec 2023 17:31:49 +0300 Subject: [PATCH] fixed show background e-mail notification process --- templates/sendtelegram-login.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sendtelegram-login.sh b/templates/sendtelegram-login.sh index f9454c5..cb96149 100644 --- a/templates/sendtelegram-login.sh +++ b/templates/sendtelegram-login.sh @@ -28,7 +28,7 @@ END fi SESSION=$(ps -ef -u "${USER}" | grep '[s]shd:.*@notty' \ - | awk '{$2=$3=$4=$6=$7=""; print $0}') + | grep -v 'sendmail.py'| awk '{$2=$3=$4=$6=$7=""; print $0}') if [ -n "${SESSION}" ]; then TXT_MSG=$(cat <<-END ${TXT_MSG}