git.samba.org
/
rsync-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
13d7c76
)
Use strace's -o option.
author
Wayne Davison
<wayned@samba.org>
Sat, 4 Jun 2011 15:56:03 +0000
(15:56 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 4 Jun 2011 15:56:03 +0000
(15:56 +0000)
rsync-debug
patch
|
blob
|
history
diff --git
a/rsync-debug
b/rsync-debug
index 4c54c0011c4a3d2c7e44c076e9cbc3bfedc6d5f0..81df54f6c1b8a7280b3ee0486fae1061c0276fd6 100644
(file)
--- a/
rsync-debug
+++ b/
rsync-debug
@@
-4,4
+4,5
@@
ulimit -c unlimited
# Some systems have "truss" or "tusc" instead of "strace".
# The -f option tells strace to follow children too.
-strace -f rsync "${@}" 2>/tmp/rsync-$$.out
+# The -o option tells strace where to send its output.
+strace -f -o /tmp/rsync-$$.out rsync "${@}"