summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py
index dc81abdb9..80044e37d 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -155,7 +155,7 @@ def execute(*cmd, **kwargs):
'to utils.execute: %r') % kwargs)
if run_as_root:
- cmd = shlex.split(FLAGS.sudo_helper) + cmd
+ cmd = shlex.split(FLAGS.sudo_helper) + list(cmd)
cmd = map(str, cmd)
while attempts > 0: