Skip to content
Snippets Groups Projects
Commit 58c7bb43 authored by Martin Strbacka's avatar Martin Strbacka
Browse files

mail_notifier: Fixed variables in an if expression.

parent 7f280019
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ create_msmtp_config() {
echo "account notifier" > "$msmtp_cfg_file"
if [ -n $turris_smtp ] && [ $turris_smtp = "1" ] && [ $turris_smtp = "1" ]; then
if [ -n "$turris_smtp" ] && [ "$turris_smtp" = "1" ]; then
use_turris_smtp
else
parse_user_server_setting
......
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