projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collect backup client list in a plain text file
[mirror/dsa-puppet.git]
/
modules
/
roles
/
files
/
ssh_upload
/
rsync-ssh-wrap
diff --git
a/modules/roles/files/ssh_upload/rsync-ssh-wrap
b/modules/roles/files/ssh_upload/rsync-ssh-wrap
index
bdfc6f1
..
f2a8917
100755
(executable)
--- a/
modules/roles/files/ssh_upload/rsync-ssh-wrap
+++ b/
modules/roles/files/ssh_upload/rsync-ssh-wrap
@@
-68,7
+68,7
@@
do_rsync() {
allowed="${allowed_rsyncs[$cmd_idx]}"
if [ "$*" = "$allowed" ]; then
info "Running for host $remote_host: rsync $*"
allowed="${allowed_rsyncs[$cmd_idx]}"
if [ "$*" = "$allowed" ]; then
info "Running for host $remote_host: rsync $*"
- exec rsync "$@"
+ exec rsync
--chmod=F640
"$@"
croak "Exec failed"
fi
done
croak "Exec failed"
fi
done