about summary refs log tree commit diff
path: root/pkgs/profpatsch
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-06-07 19:12:25 +0200
committerProfpatsch <mail@profpatsch.de>2021-06-07 19:12:25 +0200
commitbca99e1e74e696a0df845e7999b69e323d889013 (patch)
tree9fde8cd3aa881146ecd740181f54567b348037a8 /pkgs/profpatsch
parentc7ae646d3725f3448c83890500696513e9f90fd5 (diff)
pkgs/profpatsch/xrandr: exit(1) on error
Diffstat (limited to 'pkgs/profpatsch')
-rw-r--r--pkgs/profpatsch/xrandr.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/profpatsch/xrandr.nix b/pkgs/profpatsch/xrandr.nix
index fd8c66d0..a4630ea0 100644
--- a/pkgs/profpatsch/xrandr.nix
+++ b/pkgs/profpatsch/xrandr.nix
@@ -130,6 +130,7 @@ let
 
     if len(connected) != 2:
         print("only know how to configure two monitors")
+        sys.exit(1)
 
     eDP1 = connected['eDP1']