run_tests: make travis happy, use signal nr instead of name

This commit is contained in:
rofl0r 2020-09-13 01:31:08 +01:00
parent ff23f3249b
commit 7014d050d9

View File

@ -112,8 +112,8 @@ start_tinyproxy() {
reload_config() { reload_config() {
echo -n "signaling tinyproxy to reload config..." echo -n "signaling tinyproxy to reload config..."
pid=$(cat $TINYPROXY_PID_FILE) pid=$(cat $TINYPROXY_PID_FILE)
kill -s SIGHUP $pid #1: SIGHUP
echo kill -1 $pid && echo "ok" || echo "fail"
} }
stop_tinyproxy() { stop_tinyproxy() {