From: Simon Ruderich Date: Tue, 29 Mar 2016 13:45:21 +0000 (+0200) Subject: bin/srsync: add --protect-args X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=362e50fba3d66be6749c85b0ee2f720d0b53e486 bin/srsync: add --protect-args Thanks to johnLate. --- diff --git a/bin/srsync b/bin/srsync index 8402bb3..fc549a4 100755 --- a/bin/srsync +++ b/bin/srsync @@ -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 \