The "args" array already contains the binary name, so does not need to
be concatenated with "prog".
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
run.in | 4 ++--
1 file 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:
--
2.30.2