From 1e32cfde7dd5ffe44ee3d7abf3fcb6131a3f7e9b Mon Sep 17 00:00:00 2001 From: "thibault.dewailly" Date: Fri, 4 Dec 2020 09:11:14 +0000 Subject: [PATCH] osh-encrypt-rsync: Remove logfile as mandatory parameter --- bin/cron/osh-encrypt-rsync.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/cron/osh-encrypt-rsync.pl b/bin/cron/osh-encrypt-rsync.pl index 8d15934..e0de5d0 100755 --- a/bin/cron/osh-encrypt-rsync.pl +++ b/bin/cron/osh-encrypt-rsync.pl @@ -394,7 +394,11 @@ sub main { # ensure the various config files defined all the keywords we need foreach my $keyword ( - qw{ logfile signing_key signing_key_passphrase recipients encrypt_and_move_to_directory encrypt_and_move_delay_days rsync_destination rsync_delay_before_remove_days }) + qw{ + signing_key signing_key_passphrase recipients encrypt_and_move_to_directory + encrypt_and_move_delay_days rsync_destination rsync_delay_before_remove_days + } + ) { next if defined $config{$keyword}; _err "Missing mandatory configuration item '$keyword', aborting";