From 6374c32a957fb176469285b8c7036070cbb9b174 Mon Sep 17 00:00:00 2001 From: psmanek Date: Sun, 28 Feb 2021 19:02:59 +0100 Subject: Update rsync_tmbackup.sh (#232) Fix: Source path with spaces. --- rsync_tmbackup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 1bc24ee..0eb269b 100755 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -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 -- cgit v1.2.3