summaryrefslogtreecommitdiff
path: root/bin/byteback-receive
diff options
context:
space:
mode:
Diffstat (limited to 'bin/byteback-receive')
-rwxr-xr-xbin/byteback-receive3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/byteback-receive b/bin/byteback-receive
index 0b6a5c5..e5be576 100755
--- a/bin/byteback-receive
+++ b/bin/byteback-receive
@@ -55,6 +55,9 @@ if (ARGV[0] == 'byteback-restore')
end
end
+ # Always exclude the current directory, because it can change the
+ # ownership at the restorers end.
+ args << "--exclude=."
restore = Byteback::Restore.new(byteback_root)