From a59ba691757f448cd11e8dd003b5c1d6117b66d6 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Fri, 26 Jul 2024 10:41:50 +0400 Subject: slight: bug fix --- scripts/slight | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/slight b/scripts/slight index c4d70c8..703a1fd 100755 --- a/scripts/slight +++ b/scripts/slight @@ -54,6 +54,8 @@ while getopts "i:d:s:ph" option; do p) if ! brightnessctl 2>/dev/null; then err "Failed to get current brightness" + else + exit 0 fi ;; h) help; exit 0 ;; -- cgit v1.2.3