diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 637545bd9e98e9339a3cee6652330af0e6c26b9c..3400a23e6a41b1723f416d54bf5203c9cc641c22 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -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" } } }