]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bin/srsync
bin/srsync: add --protect-args
[config/dotfiles.git] / bin / srsync
index 8402bb33aeeff8e97ed99af24935d03f8182df47..fc549a48375098de7850d9718b8a299fb2e0a04a 100755 (executable)
@@ -5,7 +5,7 @@
 # Be careful when restoring /boot with --sparse, GRUB doesn't support sparse
 # files (e.g. the kernel). Therefore don't use --sparse in this case.
 
-# Copyright (C) 2011-2015  Simon Ruderich
+# Copyright (C) 2011-2016  Simon Ruderich
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -25,6 +25,7 @@ set -eu
 set -x
 
 exec rsync \
+    --protect-args \
     --verbose \
     --itemize-changes \
     --human-readable \