mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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…
x
Reference in New Issue
Block a user