pass host to rq too

This commit is contained in:
Eric House 2010-12-02 22:34:59 -08:00
parent 328fe7d6dc
commit 9fd4229384

View file

@ -153,7 +153,7 @@ kill_from_logs() {
done
if [ -n "$CMDS" ]; then
echo "../relay/rq $CMDS"
../relay/rq $CMDS 2>/dev/null || true
../relay/rq -a $HOST $CMDS 2>/dev/null || true
fi
}
@ -161,7 +161,7 @@ kill_from_log() {
LOG=$1
RELAYID=$(./scripts/relayID.sh $LOG)
if [ -n "$RELAYID" ]; then
../relay/rq -d $RELAYID 2>/dev/null || true
../relay/rq -a $HOST -d $RELAYID 2>/dev/null || true
return 0 # success
fi
return 1