diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-23 14:26:13 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-23 14:26:13 +0100 |
commit | ca8b3d7db29020859b025e669a07601da6609337 (patch) | |
tree | 4761203642930e8d75773d875baf9afd5f7ee2ad /monitor-menu.py | |
parent | 783afa7a450d4839efaf2474fb502a811b5a10bc (diff) |
Explicitly ignore return code of subprocess
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'monitor-menu.py')
-rwxr-xr-x | monitor-menu.py | 4 |
1 files 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): |