filewatcherd

FreeBSD daemon that watches files and runs commands when they change
git clone https://git.instinctive.eu/filewatcherd.git
Log | Files | Refs | README | LICENSE

commit 63cfb7475bc821e08727d519f2a84ac5489b40e6
parent 3c18a0d1885053f41231bc0e8b028420ad95e89e
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Mon, 30 Jan 2023 06:21:09 +0000

Fix option parsing when char is unsigned (#5)

Thanks to @clausecker for reporting it.

Diffstat:
Mfilewatcherd.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/filewatcherd.c b/filewatcherd.c @@ -84,7 +84,7 @@ main(int argc, char **argv) { struct kevent event; struct watch_entry *wentry; pid_t pid; - char c; + int c; char *s;