Browse Source

rpc-tests: don't spew non-errors to stdout

There's a brief race here, the process might've already exited and cleaned up
after itself. If that's the case, reading from the pidfile will harmlessly
fail. Keep those quiet.
tags/v0.15.1
Cory Fields 7 years ago
parent
commit
005b5af6e2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      qa/rpc-tests/send.sh

+ 1
- 1
qa/rpc-tests/send.sh View File

@@ -16,7 +16,7 @@ fi

if [ $1 = "-STOP" ]; then
if [ -s ${PIDFILE} ]; then
kill -s ${SIGNAL} $(<${PIDFILE})
kill -s ${SIGNAL} $(<$PIDFILE 2>/dev/null) 2>/dev/null
fi
exit 0
fi

Loading…
Cancel
Save