summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2014-07-13 08:40:52 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2014-07-13 08:40:52 +0100
commitc1ec75d26381a3a465a1ff8c6b09097f1b445876 (patch)
tree2e46be9338e1fc60a8e25ce1d79c58b7941c5337
parent4109b4db909ad895ea07292136214923cb358813 (diff)
added dep check
-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"