Hide branch select until it's working

This commit is contained in:
TrainDoctor
2022-08-24 21:18:38 -07:00
parent 79db0c779d
commit effc4ab0f5
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -75,9 +75,9 @@ async def is_systemd_unit_active(unit_name: str) -> bool:
async def stop_systemd_unit(unit_name: str) -> subprocess.CompletedProcess:
cmd = ["systemctl", "stop", unit_name]
return subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
async def start_systemd_unit(unit_name: str) -> subprocess.CompletedProcess:
cmd = ["systemctl", "start", unit_name]
return subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)