From e99bb30bd558bbda0220f6386406903718babeb6 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 5 Aug 2022 06:20:16 -0400 Subject: silence output properly in __run_items() --- bin/hiccup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3