about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--catsit-watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/catsit-watch.c b/catsit-watch.c
index 78d1cb2..096449b 100644
--- a/catsit-watch.c
+++ b/catsit-watch.c
@@ -29,7 +29,7 @@
 
 static void watch(int kq, char *path) {
 	int fd = open(path, O_RDONLY | O_CLOEXEC);
-	if (fd < 0) err(EX_NOINPUT, "%s", path);
+	if (fd < 0) err(EX_TEMPFAIL, "%s", path);
 
 	struct kevent event;
 	EV_SET(