summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlabs_change_detector6
1 files changed, 6 insertions, 0 deletions
diff --git a/labs_change_detector b/labs_change_detector
index c653627..dbe747f 100755
--- a/labs_change_detector
+++ b/labs_change_detector
@@ -1,5 +1,11 @@
#! /bin/bash
+if ! which inotifywait &> /dev.null
+then
+ echo 'inotify is a dep. fail'
+ exit
+fi
+
bot_ipc="/tmp/un-provoked-message-store"
maildir="/home/pbot-ng/Maildir/new"