X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/54b405985632b71444f215bb547a2b6a7f0f3637..4875d6b64dd0ed8d451746cc0cc609cff36192bd:/pipe.c?ds=sidebyside diff --git a/pipe.c b/pipe.c index 446afa7d..941e5d87 100644 --- 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); - rsyserr(FERROR, errno, "Failed to exec %s", command[0]); + rsyserr(FERROR, errno, "Failed to exec %s", + safe_fname(command[0])); exit_cleanup(RERR_IPC); }