mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
backup: Only list files that exist
This will prevent tar from throwing any errors later on Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -43,7 +43,9 @@ process_includes() {
|
||||
local file
|
||||
while read -r file; do
|
||||
for file in /${file}; do
|
||||
echo "${file}"
|
||||
if [ -e "${file}" ]; then
|
||||
echo "${file}"
|
||||
fi
|
||||
done
|
||||
done < "${include}"
|
||||
done | sort -u
|
||||
|
||||
Reference in New Issue
Block a user