Somehow deleted the coproc
This commit is contained in:
parent
4873410cd2
commit
b22dcd6831
@ -64,6 +64,7 @@ do_emergency_email () {
|
|||||||
MAILSERVER=`dig $DOMAIN mx | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n 1`
|
MAILSERVER=`dig $DOMAIN mx | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n 1`
|
||||||
|
|
||||||
## Setting up coprocess to send commands to telnet session coproc TELNET { telnet $MAILSERVER 25; }
|
## Setting up coprocess to send commands to telnet session coproc TELNET { telnet $MAILSERVER 25; }
|
||||||
|
coproc TELNET { telnet $MAILSERVER 25; }
|
||||||
|
|
||||||
## Commands to send email manually
|
## Commands to send email manually
|
||||||
local -a commands=(
|
local -a commands=(
|
||||||
|
Loading…
Reference in New Issue
Block a user