aboutsummaryrefslogtreecommitdiff
path: root/rumba/ssh_support.py
diff options
context:
space:
mode:
Diffstat (limited to 'rumba/ssh_support.py')
-rw-r--r--rumba/ssh_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py
index 7623f6d..1a95d7f 100644
--- a/rumba/ssh_support.py
+++ b/rumba/ssh_support.py
@@ -338,7 +338,7 @@ def copy_files_from_testbed(testbed, ssh_config, paths,
if sudo:
cmd = 'chmod a+rw %s' % (" ".join(paths))
if ssh_config.username != 'root':
- cmd = "sudo %s" % command
+ cmd = "sudo %s" % cmd
execute_command(testbed, ssh_config, cmd)
if ssh_config.client is None: