mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-10 19:04:55 +00:00
Fix details in compat.sh
This commit is contained in:
parent
72e51ee7be
commit
16494496db
@ -783,7 +783,7 @@ start_server() {
|
||||
sleep 1
|
||||
}
|
||||
|
||||
# terminate the running server (closing it cleanly if it is ours)
|
||||
# terminate the running server
|
||||
stop_server() {
|
||||
kill $PROCESS_ID 2>/dev/null
|
||||
wait $PROCESS_ID 2>/dev/null
|
||||
@ -802,7 +802,8 @@ stop_server() {
|
||||
# kill the running server (used when killed by signal)
|
||||
cleanup() {
|
||||
rm -f $SRV_OUT $CLI_OUT
|
||||
kill $PROCESS_ID
|
||||
kill $PROCESS_ID >/dev/null 2>&1
|
||||
kill $WATCHDOG_PID >/dev/null 2>&1
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user