diff options
| author | Cory Fields <[email protected]> | 2014-10-10 13:11:47 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2014-10-10 13:11:49 -0400 |
| commit | 005b5af6e2d32cc2a4a37b6edb60aacdfb5e8ed0 (patch) | |
| tree | 04a0eabe1e117ccff8c6413e813cc49e1430c9b7 | |
| parent | Merge pull request #4802 (diff) | |
| download | discoin-005b5af6e2d32cc2a4a37b6edb60aacdfb5e8ed0.tar.xz discoin-005b5af6e2d32cc2a4a37b6edb60aacdfb5e8ed0.zip | |
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.
| -rwxr-xr-x | qa/rpc-tests/send.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/send.sh b/qa/rpc-tests/send.sh index 8c0f11459..37367865c 100755 --- a/qa/rpc-tests/send.sh +++ b/qa/rpc-tests/send.sh @@ -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 |