fixed show background e-mail notification process
This commit is contained in:
parent
ace5d44cae
commit
54dd284d45
|
@ -28,7 +28,7 @@ END
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SESSION=$(ps -ef -u "${USER}" | grep '[s]shd:.*@notty' \
|
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
|
if [ -n "${SESSION}" ]; then
|
||||||
TXT_MSG=$(cat <<-END
|
TXT_MSG=$(cat <<-END
|
||||||
${TXT_MSG}
|
${TXT_MSG}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user