Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
List /etc instead of /, but only if it exists and is readable.
[rsync/rsync.git]
/
pipe.c
diff --git
a/pipe.c
b/pipe.c
index
446afa7
..
941e5d8
100644
(file)
--- a/
pipe.c
+++ b/
pipe.c
@@
-79,7
+79,8
@@
pid_t piped_child(char **command, int *f_in, int *f_out)
if (blocking_io > 0)
set_blocking(STDOUT_FILENO);
execvp(command[0], command);
if (blocking_io > 0)
set_blocking(STDOUT_FILENO);
execvp(command[0], command);
- rsyserr(FERROR, errno, "Failed to exec %s", command[0]);
+ rsyserr(FERROR, errno, "Failed to exec %s",
+ safe_fname(command[0]));
exit_cleanup(RERR_IPC);
}
exit_cleanup(RERR_IPC);
}