This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Commit 808f5d4
fix: guard inotifywait against silent failure
set -e is inherited by the watcher subshell. If inotifywait exits
non-zero (e.g. watched directory deleted, watch limit exhausted),
the subshell dies silently. Guard with if-check and shut down on
failure instead.
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 138fb21 commit 808f5d4
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments