mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
pass host to rq too
This commit is contained in:
parent
328fe7d6dc
commit
9fd4229384
1 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ kill_from_logs() {
|
||||||
done
|
done
|
||||||
if [ -n "$CMDS" ]; then
|
if [ -n "$CMDS" ]; then
|
||||||
echo "../relay/rq $CMDS"
|
echo "../relay/rq $CMDS"
|
||||||
../relay/rq $CMDS 2>/dev/null || true
|
../relay/rq -a $HOST $CMDS 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ kill_from_log() {
|
||||||
LOG=$1
|
LOG=$1
|
||||||
RELAYID=$(./scripts/relayID.sh $LOG)
|
RELAYID=$(./scripts/relayID.sh $LOG)
|
||||||
if [ -n "$RELAYID" ]; then
|
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
|
return 0 # success
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue