]> git.llucax.com Git - software/bacap.git/commitdiff
Remove uneeded rsync flag
authorRodrigo Campos <rodrigo@sdfg.com.ar>
Thu, 18 Nov 2010 15:42:34 +0000 (12:42 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 18 Nov 2010 16:14:44 +0000 (13:14 -0300)
rsync --delete-excluded was needed when cp was used to create the
hardlinks. Now that rsync creates them, it is not needed anymore.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
bacap

diff --git a/bacap b/bacap
index 5b74c5e9a994fd2ea321f1ee4dc34afd4fe53595..59b270307a1031f346f9c60b6b7c2337c3487cb6 100755 (executable)
--- a/bacap
+++ b/bacap
@@ -127,7 +127,7 @@ do
                perror "$host is down, skipping..." &&
                continue
        [ -r "$exclude" ] &&
-               extra_flags="--exclude-from=$exclude --delete-excluded"
+               extra_flags="--exclude-from=$exclude"
        [ -r "$include" ] &&
                extra_flags="$extra_flags --include-from=$include"
        plog "Running rsync..."