summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 14:26:13 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 14:26:13 +0100
commitca8b3d7db29020859b025e669a07601da6609337 (patch)
tree4761203642930e8d75773d875baf9afd5f7ee2ad
parent783afa7a450d4839efaf2474fb502a811b5a10bc (diff)
Explicitly ignore return code of subprocess
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rwxr-xr-xmonitor-menu.py4
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):