aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/send.sh
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-10-10 13:11:47 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-10-10 13:11:49 -0400
commit005b5af6e2d32cc2a4a37b6edb60aacdfb5e8ed0 (patch)
tree04a0eabe1e117ccff8c6413e813cc49e1430c9b7 /qa/rpc-tests/send.sh
parent023690c0f24a06853bb860db032a1ff67978ee74 (diff)
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.
Diffstat (limited to 'qa/rpc-tests/send.sh')
-rwxr-xr-xqa/rpc-tests/send.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/send.sh b/qa/rpc-tests/send.sh
index 8c0f114590..37367865c1 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