summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2022-08-24 21:18:38 -0700
committerTrainDoctor <traindoctor@protonmail.com>2022-08-24 21:18:38 -0700
commiteffc4ab0f56119041ac6efecdbf0a782714ec783 (patch)
tree9f5e20646c5e7b2ce318815c3b7ba20b88c94d6e /backend
parent79db0c779d6942c6bdc6823a5faef57b5307f7b3 (diff)
downloaddecky-loader-effc4ab0f56119041ac6efecdbf0a782714ec783.tar.gz
decky-loader-effc4ab0f56119041ac6efecdbf0a782714ec783.zip
Hide branch select until it's workingv2.0.5-pre17
Diffstat (limited to 'backend')
-rw-r--r--backend/helpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/helpers.py b/backend/helpers.py
index 5e26f163..b3c8a51e 100644
--- a/backend/helpers.py
+++ b/backend/helpers.py
@@ -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)