替换查找Transmission进程的命令

This commit is contained in:
ronggang 2018-04-08 17:12:15 +08:00
parent 3c28787083
commit bdb24f66b7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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