mirror of
https://github.com/ronggang/transmission-web-control.git
synced 2024-09-20 14:55:49 +00:00
替换查找Transmission进程的命令
This commit is contained in:
parent
3c28787083
commit
bdb24f66b7
|
@ -308,7 +308,7 @@ showMainMenu() {
|
|||
# 检测 Transmission 进程是否存在
|
||||
checkTransmissionDaemon() {
|
||||
showLog "正在检测 Transmission 进程..."
|
||||
ps -fe|grep ransmission-daemon |grep -v grep
|
||||
ps -C transmission-daemon
|
||||
if [ $? -ne 0 ]; then
|
||||
showLog "在系统进程中没有找到 Transmission ,请确认是否已启动。"
|
||||
else
|
||||
|
|
|
@ -309,7 +309,7 @@ showMainMenu() {
|
|||
# 检测 Transmission 进程是否存在
|
||||
checkTransmissionDaemon() {
|
||||
showLog "Detecting the Transmission process..."
|
||||
ps -fe|grep ransmission-daemon |grep -v grep
|
||||
ps -C transmission-daemon
|
||||
if [ $? -ne 0 ]; then
|
||||
showLog "No Transmission was found in the system process. Please confirm that it is started."
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user