summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorseth <[email protected]>2022-08-05 06:20:16 -0400
committerseth <[email protected]>2022-08-05 06:20:16 -0400
commite99bb30bd558bbda0220f6386406903718babeb6 (patch)
treee03efa73ff1370b4322123d7637892eb8933ac63 /bin
parente748ce8e9cb41a649e44c6b032a1f4126346924e (diff)
silence output properly in __run_items()
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hiccup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hiccup b/bin/hiccup
index 4072cb7..4c98c42 100755
--- a/bin/hiccup
+++ b/bin/hiccup
@@ -52,7 +52,7 @@ class CurrentDistro:
def __run_items(self, msg: str, dct: dict):
for name, cmd in dct.items():
print(msg.format(name))
- result = self.__sys_cmd(name, cmd, append = ' &> /dev/null')
+ result = self.__sys_cmd(name, cmd, append = ' > /dev/null 2>&1')
if result != 0:
raise CommandFailedError(name)