summaryrefslogtreecommitdiff
path: root/src/backend/setProfile.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-17 23:44:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-17 23:44:50 +0100
commitf63eb33b4c7186f456b46f68b0e9475ef0167cdd (patch)
tree0be98104eff93478c5dde16018f3fc1c39693d8c /src/backend/setProfile.py
parent00c597fbd8d309bd74f91aae27af84a1e93a4a0d (diff)
only use pipes when absolutely needed
Diffstat (limited to 'src/backend/setProfile.py')
-rw-r--r--src/backend/setProfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/setProfile.py b/src/backend/setProfile.py
index d3942aa..a5d6480 100644
--- a/src/backend/setProfile.py
+++ b/src/backend/setProfile.py
@@ -7,11 +7,11 @@ import subprocess
@animation.wait('setting up profile')
def start():
if platform.uname()[4] == 'x86_64':
- eselectExec = subprocess.Popen(['eselect', 'profile', 'set', 'default/linux/amd64/17.1/hardened'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ eselectExec = subprocess.Popen(['eselect', 'profile', 'set', 'default/linux/amd64/17.1/hardened'])
eselectExec.wait()
if platform.uname()[4] == 'aarch64':
- eselectExec = subprocess.Popen(['eselect', 'profile', 'set', 'default/linux/arm64/17.0'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ eselectExec = subprocess.Popen(['eselect', 'profile', 'set', 'default/linux/arm64/17.0'])
eselectExec.wait()
envExec = subprocess.Popen(['env-update'], stdout=subprocess.DEVNULL)