summaryrefslogtreecommitdiff
path: root/rsync_tmbackup.sh
diff options
context:
space:
mode:
authorpsmanek <pawel@szczerbik.net>2021-02-28 19:02:59 +0100
committerGitHub <noreply@github.com>2021-02-28 18:02:59 +0000
commit6374c32a957fb176469285b8c7036070cbb9b174 (patch)
tree19aad2356f45de37cb6e468015c3644e15a609a4 /rsync_tmbackup.sh
parent88db869fe7a52864e18afc7e16a971499f79e830 (diff)
Update rsync_tmbackup.sh (#232)
Fix: Source path with spaces.
Diffstat (limited to 'rsync_tmbackup.sh')
-rwxr-xr-xrsync_tmbackup.sh2
1 files changed, 1 insertions, 1 deletions
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