diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2014-07-13 08:40:52 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2014-07-13 08:40:52 +0100 |
commit | c1ec75d26381a3a465a1ff8c6b09097f1b445876 (patch) | |
tree | 2e46be9338e1fc60a8e25ce1d79c58b7941c5337 | |
parent | 4109b4db909ad895ea07292136214923cb358813 (diff) |
added dep check
-rwxr-xr-x | labs_change_detector | 6 |
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" |