summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhost-control4
1 files changed, 2 insertions, 2 deletions
diff --git a/host-control b/host-control
index 7e1f571..916f6b5 100755
--- a/host-control
+++ b/host-control
@@ -173,12 +173,12 @@ class host_control():
source_path = os.path.join(self.config_path(), source)
if self.host_address(host) == self.hostname:
- self.print_message("Copy " + source + " to " + sink)
+ self.print_message("Copy " + sink + " to " + source)
command = [ "cp", sink, source_path ]
else:
sink_address = self.ssh_address(host) + ":" + sink
- self.print_message("Copy " + source + " to " + sink_address)
+ self.print_message("Copy " + sink_address + " to " + source)
command = [ "scp", sink_address, source_path ]