You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/lxd/files/lxd-0.16-nc-binary-name.patch

12 lines
583 B

--- lxd/migration/rsync.go.orig 2015-08-21 12:05:15.098768663 -0500
+++ lxd/migration/rsync.go 2015-08-21 12:06:15.899764506 -0500
@@ -73,7 +73,7 @@
* command (i.e. the command to run on --server). However, we're
* hardcoding that at the other end, so we can just ignore it.
*/
- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name())
+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name())
cmd := exec.Command("rsync", "-arvP", "--devices", "--partial", path, "localhost:/tmp/foo", "-e", rsyncCmd)
if err := cmd.Start(); err != nil {
return nil, nil, err