Update rsync_tmbackup.sh (#232)

Fix: Source path with spaces.
This commit is contained in:
psmanek
2021-02-28 19:02:59 +01:00
committed by GitHub
parent 88db869fe7
commit 6374c32a95
+1 -1
View File
@@ -369,7 +369,7 @@ if [ -n "$SSH_SRC_FOLDER" ]; then
fi
# Exit if source folder does not exist.
if ! fn_test_file_exists_src ${SRC_FOLDER}; then
if ! fn_test_file_exists_src "${SRC_FOLDER}"; then
fn_log_error "Source folder \"${SRC_FOLDER}\" does not exist - aborting."
exit 1
fi