summaryrefslogtreecommitdiff
path: root/run.in
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-04-06 15:40:53 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2021-04-07 11:41:26 +0100
commit713ad3000462e4cec259f7bfd4e086b6ac67a6cb (patch)
treee3e2777d5ad9a5f4184c6c99e9e252195e7ca082 /run.in
parent8c1a89999ae70e6262e404f2a569d73ee973590e (diff)
downloadlibvirt-713ad3000462e4cec259f7bfd4e086b6ac67a6cb.tar.gz
run: fix spawning of daemons
The "args" array already contains the binary name, so does not need to be concatenated with "prog". Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'run.in')
-rw-r--r--run.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.in b/run.in
index b778505a33..9aae27a79e 100644
--- a/run.in
+++ b/run.in
@@ -159,8 +159,8 @@ else:
stopped_units.append(unit)
- print("Running %s..." % prog)
- ret = subprocess.call([prog] + args, env=env)
+ print("Running '%s'..." % str(" ".join(args)))
+ ret = subprocess.call(args, env=env)
except KeyboardInterrupt:
pass
finally: