summaryrefslogtreecommitdiff
path: root/scripts/daemons/notifd
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-11-25 22:40:16 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-11-25 22:40:16 +0400
commit7c19172f87b6fe35dffd8f9a252c3c10efe13aa2 (patch)
treef42dd1ffd3440200977ea4c38950458f57bd534c /scripts/daemons/notifd
parentaf078c55f03e2884b883abb095c623b96fa97ec5 (diff)
fix(scripts): fix shellcheck errors and warnings
Diffstat (limited to 'scripts/daemons/notifd')
-rwxr-xr-xscripts/daemons/notifd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/daemons/notifd b/scripts/daemons/notifd
index 85b851d..3d0e809 100755
--- a/scripts/daemons/notifd
+++ b/scripts/daemons/notifd
@@ -19,7 +19,7 @@ cancel() {
tpid=""
}
-while read n <&3; do
+while read -r n <&3; do
[ "${n}" = "-1" ] && { cancel; continue; }
case "${n}" in ''|*[!0-9]*) continue ;; esac