marsadm: safeguard return at cron

This commit is contained in:
Thomas Schoebel-Theuer 2020-12-08 21:07:43 +01:00
parent 75807a287c
commit 2561800e68

View File

@ -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 {