summaryrefslogtreecommitdiff
blob: c81a3edb72986274de5a439287cefe6b0f646287 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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