Merge pull request #77 from ThibaultDewailly/plugins

osh-encrypt-rsync: Remove logfile as mandatory parameter
This commit is contained in:
Stéphane Lesimple 2020-12-04 11:17:31 +01:00 committed by GitHub
commit 74d8a49f3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";