From ca8b3d7db29020859b025e669a07601da6609337 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 23 Dec 2021 14:26:13 +0100 Subject: Explicitly ignore return code of subprocess Signed-off-by: Olivier Gayot --- monitor-menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor-menu.py b/monitor-menu.py index b422fcc..8fc0689 100755 --- a/monitor-menu.py +++ b/monitor-menu.py @@ -60,9 +60,9 @@ class MonitorMenu(): feh_cmd.append(monitor['background']); logging.debug("Executing: %s", xrandr_cmd) - subprocess.run(xrandr_cmd) + subprocess.run(xrandr_cmd, check=False) logging.debug("Executing: %s", feh_cmd) - subprocess.run(feh_cmd) + subprocess.run(feh_cmd, check=False) def main(argv=None): -- cgit v1.2.3