Changed exit code so error modules are created
This commit is contained in:
parent
64d27c6572
commit
ab12c782ef
|
@ -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;
|
||||
}
|
||||
|
||||
################################################################################
|
||||
|
|
Loading…
Reference in New Issue