From 362e50fba3d66be6749c85b0ee2f720d0b53e486 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 29 Mar 2016 15:45:21 +0200 Subject: [PATCH] bin/srsync: add --protect-args Thanks to johnLate. --- bin/srsync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.45.2