From c1ec75d26381a3a465a1ff8c6b09097f1b445876 Mon Sep 17 00:00:00 2001 From: Joseph Graham Date: Sun, 13 Jul 2014 08:40:52 +0100 Subject: added dep check --- labs_change_detector | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- cgit v1.2.3