make less dumb
This commit is contained in:
parent
b8301408c9
commit
43bc7dc3ef
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
script=`dirname $0`/run
|
||||
D0=`$script`
|
||||
R=$?
|
||||
if [ $R -ne 0 ]; then
|
||||
sleep 60
|
||||
D="mimcpher: CSC System Failure: `$script`"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo $D
|
||||
echo $D | ircpipe irc.freenode.net \#csc
|
||||
else
|
||||
echo "Intermittent failure: $D"
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue