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() {
|
||||
echo -n "killing tinyproxy..."
|
||||
kill $(cat $TINYPROXY_PID_FILE)
|
||||
pid=$(cat $TINYPROXY_PID_FILE)
|
||||
kill $pid
|
||||
if test "x$?" = "x0" ; then
|
||||
echo " ok"
|
||||
else
|
||||
echo " error"
|
||||
echo " error killing pid $pid"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user