fix status 4
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
This commit is contained in:
@@ -134,7 +134,7 @@ def parse_unit_execstart(service_name: str) -> Optional[Dict]:
|
|||||||
unit = _systemctl_unit_name(service_name)
|
unit = _systemctl_unit_name(service_name)
|
||||||
try:
|
try:
|
||||||
p = subprocess.run(
|
p = subprocess.run(
|
||||||
["systemctl", "show", "-p", "ExecStart", "--value", unit],
|
["systemctl", "--no-pager","show", "-p", "ExecStart", "--value", unit],
|
||||||
capture_output=True, text=True, check=False, timeout=2
|
capture_output=True, text=True, check=False, timeout=2
|
||||||
)
|
)
|
||||||
exec_start_raw = (p.stdout or "").strip()
|
exec_start_raw = (p.stdout or "").strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user