Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8604b0c4 authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

ktest.pl: Kill test if mailer is not supported



If the user specifies a MAILTO, but the MAILER is not supported, then
kill the test.

Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent be1546b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4168,7 +4168,7 @@ sub send_email {
	}
        if ($mailer eq "mail" || $mailer eq "mailx"){ _mailx_send(@_);}
        elsif ($mailer eq "sendmail" ) { _sendmail_send(@_);}
        else { doprint "\nYour mailer: $mailer is not supported.\n" }
        else { die "\nYour mailer: $mailer is not supported.\n" }
    }
}