提交 66052bef 编写于 作者: S Shuduo Sang

sigint is invalid signal, fix it with SIGINT.

上级 ed8e3576
......@@ -95,7 +95,7 @@ else
if [ -n "$PID" ]; then
if [ "$SIGNAL" = "SIGINT" ]; then
echo killed by signal
kill -sigint $PID
kill -SIGINT $PID
else
kill -9 $PID
fi
......
......@@ -100,7 +100,7 @@ else
if [ -n "$PID" ]; then
if [ "$SIGNAL" = "SIGINT" ]; then
echo killed by signal
kill -sigint $PID
kill -SIGINT $PID
else
kill -9 $PID
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册