blob: 40e122487418d7c0002c72f5029a9c05f7c51d61 [file] [log] [blame]
--- lxd/migration/rsync.go.orig 2015-07-11 09:33:18.012425011 -0500
+++ lxd/migration/rsync.go 2015-07-11 09:33:34.881423857 -0500
@@ -84,7 +84,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", "-arvPz", "--devices", "--partial", path, "localhost:/tmp/foo", "-e", rsyncCmd)
if err := cmd.Start(); err != nil {
return nil, nil, err