Skip to content

Commit 0cc3bf9

Browse files
Double quote to prevent globbing
https://www.shellcheck.net/wiki/SC2086
1 parent 46eea92 commit 0cc3bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/copy-to-storage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ do
2626
# rsync docs: https://manpages.ubuntu.com/manpages/focal/man1/rsync.1.html
2727
# The source files will be deleted from the remote host after they are transferred.
2828
# If a file is modified during transfer, rsync will fail. That file will be transferred during the subsequent run.
29-
/usr/bin/rsync $rsync_options "$remote_host":"$remote_directory" "$local_directory"
29+
/usr/bin/rsync "$rsync_options" "$remote_host":"$remote_directory" "$local_directory"
3030
done

0 commit comments

Comments
 (0)