mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Improve 'service' command by printing names of running services
This commit is contained in:
parent
eb7542cd98
commit
95840a42ce
@ -229,6 +229,7 @@ class Serviceinfo:
|
||||
raise oscerr.PackageNotInstalled(f"obs-service-{cmd[0]}")
|
||||
cmd[0] = "/usr/lib/obs/service/" + cmd[0]
|
||||
cmd = cmd + ["--outdir", temp_dir]
|
||||
output.print_msg(f"Running source_service '{service['name']}' ...", print_to="stdout")
|
||||
output.print_msg("Run source service:", " ".join(cmd), print_to="verbose")
|
||||
r = run_external(*cmd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user