run_tests.sh: print pid if killing tp fails
This commit is contained in:
parent
ab27e4c68b
commit
55208eb2f6
@ -105,11 +105,12 @@ start_tinyproxy() {
|
|||||||
|
|
||||||
stop_tinyproxy() {
|
stop_tinyproxy() {
|
||||||
echo -n "killing tinyproxy..."
|
echo -n "killing tinyproxy..."
|
||||||
kill $(cat $TINYPROXY_PID_FILE)
|
pid=$(cat $TINYPROXY_PID_FILE)
|
||||||
|
kill $pid
|
||||||
if test "x$?" = "x0" ; then
|
if test "x$?" = "x0" ; then
|
||||||
echo " ok"
|
echo " ok"
|
||||||
else
|
else
|
||||||
echo " error"
|
echo " error killing pid $pid"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user