From 2561800e68ff2358f9a57cecea841e3c9df7a348 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Tue, 8 Dec 2020 21:07:43 +0100 Subject: [PATCH] marsadm: safeguard return at cron --- userspace/marsadm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/userspace/marsadm b/userspace/marsadm index a9889dba..9e940315 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -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 {