From 48cc896fa665bc083ae6807726c20bcc2c3f6167 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 2 Jun 2009 13:44:28 +0200 Subject: don't run multiple times --- irssi_notify.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'irssi_notify.sh') diff --git a/irssi_notify.sh b/irssi_notify.sh index 48f701f..ad5365d 100755 --- a/irssi_notify.sh +++ b/irssi_notify.sh @@ -1,5 +1,7 @@ #!/bin/bash +pgrep irssi_notify.sh && exit + #tail -f $HOME/.irssi/fnotify | ssh mistral 'inotail -f -n 0 ~/.irssi/fnotify' | sed -ru " -- cgit v1.2.3-24-g4f1b