Skip to content
Snippets Groups Projects
Commit bcc9fd25 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Syntax fixes in notifier

parent dcd809c4
No related branches found
No related tags found
No related merge requests found
......@@ -31,11 +31,11 @@ create_msmtp_config() {
echo "port $port" >> "$msmtp_cfg_file"
echo "from $from" >> "$msmtp_cfg_file"
if [ "$security" == "ssl" ]; then
if [ "$security" = "ssl" ]; then
echo "tls on" >> "$msmtp_cfg_file"
echo "tls_certcheck off" >> "$msmtp_cfg_file"
echo "tls_starttls off" >> "$msmtp_cfg_file"
elif [ "$security" == "starttls" ]
elif [ "$security" = "starttls" ] ; then
echo "tls on" >> "$msmtp_cfg_file"
echo "tls_certcheck off" >> "$msmtp_cfg_file"
echo "tls_starttls on" >> "$msmtp_cfg_file"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment