Changed exit code so error modules are created

This commit is contained in:
Kevin 2021-02-05 13:13:13 +01:00
parent 64d27c6572
commit ab12c782ef
1 changed files with 2 additions and 2 deletions

View File

@ -959,7 +959,7 @@ sub print_error {
if (is_enabled($conf->{'as_server_plugin'})) {
print STDERR $msg . "\n";
print $value . "\n";
exit 1;
exit 0;
}
print_module($conf, {
@ -968,7 +968,7 @@ sub print_error {
value => $value,
desc => $msg,
});
exit 1;
exit 0;
}
################################################################################