From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: [PATCH 1/2] backup.pl: Include logwatch summary into backups as well Date: Sat, 09 Jul 2022 16:34:49 +0200 Message-ID: In-Reply-To: <232fb7fd-84cd-62c4-ffa0-261b3fa26f50@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6748720336105391224==" List-Id: --===============6748720336105391224== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Adolf Belka On 09/07/2022 12:21, Peter M=C3=BCller wrote: > Fixes: 12827 > Signed-off-by: Peter M=C3=BCller > --- > config/backup/backup.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/config/backup/backup.pl b/config/backup/backup.pl > index 7094ed610..762437321 100644 > --- a/config/backup/backup.pl > +++ b/config/backup/backup.pl > @@ -2,7 +2,7 @@ > #########################################################################= ###### > # = # > # IPFire.org - A linux based firewall = # > -# Copyright (C) 2007-2014 IPFire Team = # > +# Copyright (C) 2007-2022 IPFire Team = # > # = # > # This program is free software: you can redistribute it and/or modify = # > # it under the terms of the GNU General Public License as published by = # > @@ -191,7 +191,7 @@ restore_backup() { > } > =20 > find_logfiles() { > - local filelist=3D( /var/log/messages* /var/log/*.log /var/log/**/*.log ) > + local filelist=3D( /var/log/logwatch/* /var/log/messages* /var/log/*.log = /var/log/**/*.log ) > =20 > echo "${filelist[@]}" > } --===============6748720336105391224==--