mirror of
https://github.com/schoebel/mars
synced 2025-01-01 11:52:25 +00:00
marsadm: safeguard return at cron
This commit is contained in:
parent
75807a287c
commit
2561800e68
@ -5327,12 +5327,14 @@ sub cron_phase1 {
|
||||
logrotate_res(@_);
|
||||
finish_links();
|
||||
_trigger(3);
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub cron_phase2 {
|
||||
my ($cmd, $res) = @_;
|
||||
$cron_mode = 1;
|
||||
logdelete_res(@_);
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub attach_res_phase0 {
|
||||
|
Loading…
Reference in New Issue
Block a user