diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-07-26 10:41:50 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-07-26 10:41:50 +0400 |
commit | a59ba691757f448cd11e8dd003b5c1d6117b66d6 (patch) | |
tree | 9176f96579313becc68825fc42236eb48e036e8c | |
parent | e79059880a21cf14e8ff35e9b875d2c2bc8813e1 (diff) |
slight: bug fix
-rwxr-xr-x | scripts/slight | 2 |
1 files changed, 2 insertions, 0 deletions
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 ;; |