Change kill signal to something more serious
This commit is contained in:
parent
cf54d46348
commit
2e9fa68527
1 changed files with 1 additions and 1 deletions
2
rowbot
2
rowbot
|
@ -371,7 +371,7 @@ on_sys_exit_998_net() {
|
||||||
log_info "rowbot is closing the connection to ircs://%s:%s" "${config[server]}" "${config[port]}"
|
log_info "rowbot is closing the connection to ircs://%s:%s" "${config[server]}" "${config[port]}"
|
||||||
|
|
||||||
if [[ -v tls_pid ]]; then
|
if [[ -v tls_pid ]]; then
|
||||||
kill -INT "$tls_pid"
|
kill -STOP "$tls_pid"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf -- "$sock_dir"
|
rm -rf -- "$sock_dir"
|
||||||
|
|
Loading…
Reference in a new issue