fix: fix config path file

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-17 18:03:56 +08:00
parent a7a880787b
commit 292ce95abf
7 changed files with 13 additions and 19 deletions
+3 -4
View File
@@ -1212,11 +1212,10 @@ function openim::util::get_server_ip() {
echo "$IP"
}
function openim::util::onCtrlC () {
#Capture CTRL+C, terminate the background process of the program when the script is terminated in the form of ctrl+c
kill -9 ${do_sth_pid} ${progress_pid}
function openim::util::onCtrlC() {
kill -9 "${do_sth_pid}" "${progress_pid}" "${countdown_pid}"
echo
echo '!!! openim: Ctrl+C is captured'
echo 'Ctrl+C is captured'
exit 1
}