From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. d5d3748b0269ffa8162f99dac1ae53d72be62bda Date: Wed, 30 Mar 2022 15:53:23 +0000 Message-ID: <4KT9vS08L3z2xjF@people01.haj.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5886070031379391586==" List-Id: --===============5886070031379391586== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, master has been updated via d5d3748b0269ffa8162f99dac1ae53d72be62bda (commit) from 21de246ef71f1858205157cdc7ffb380d98e35b4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d5d3748b0269ffa8162f99dac1ae53d72be62bda Author: Michael Tremer Date: Wed Mar 30 15:50:55 2022 +0000 backup: Move empty check to the correct place Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: config/backup/backup.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Difference in files: diff --git a/config/backup/backup.pl b/config/backup/backup.pl index 2e9c0c573..8ea399bb9 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -37,11 +37,11 @@ list_addons() { process_includes() { local include for include in $@; do - # Skip any empty line (which will include /) - [ -n "${include}" ] || continue - local file while read -r file; do + # Skip any empty line (which will include /) + [ -n "${file}" ] || continue + for file in /${file}; do if [ -e "${file}" ]; then echo "${file}" hooks/post-receive -- IPFire 2.x development tree --===============5886070031379391586==--