Silence cp for unfound dirs
This commit is contained in:
parent
a4fe52f412
commit
f9cc56594c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user