mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Merge pull request #1559 from dmach/service-print-service-names
Improve 'service' command by printing names of running services
This commit is contained in:
commit
aa2cbb2468
@ -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