summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-06-02 13:44:28 +0200
committerFlorian Pritz <f-p@gmx.at>2009-06-02 13:44:28 +0200
commit48cc896fa665bc083ae6807726c20bcc2c3f6167 (patch)
treeae3533a3d966134cb1e4f39552d3fd859a1aab14
parent83f27b72c7989faa228281e376cdd9f5d7f18815 (diff)
downloadbin-48cc896fa665bc083ae6807726c20bcc2c3f6167.tar.gz
bin-48cc896fa665bc083ae6807726c20bcc2c3f6167.tar.xz
don't run multiple times
-rwxr-xr-xirssi_notify.sh2
1 files changed, 2 insertions, 0 deletions
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 "