Silence cp for unfound dirs

This commit is contained in:
Price Hiller 2022-01-01 16:35:06 -06:00
parent a4fe52f412
commit f9cc56594c

View File

@ -540,7 +540,7 @@ backup_configs() {
mkdir -p "${config_backup_directory}"
for xml_file in "${server_directory}"/{"","Saves/"}*.xml; do
cp "${xml_file}" "${config_backup_directory}/"
cp "${xml_file}" "${config_backup_directory}/" 2>/dev/null
done
}