mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update qbittorrent.tpl
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
qb_start(){
|
||||
isStartFF=`ps -ef | grep 'ffmpeg' | grep -v grep |awk '{print $2}'`
|
||||
if [ "$isStartFF" == '' ];then
|
||||
if [ "$isStartFF" != '' ];then
|
||||
echo "qbittorrent ffmpeg is running! can\`t start!!!"
|
||||
return 1
|
||||
fi
|
||||
@@ -27,7 +27,7 @@ qb_start(){
|
||||
|
||||
qb_stop(){
|
||||
isStartFF=`ps -ef | grep 'ffmpeg' | grep -v grep |awk '{print $2}'`
|
||||
if [ "$isStartFF" == '' ];then
|
||||
if [ "$isStartFF" != '' ];then
|
||||
echo "qbittorrent ffmpeg is running! can\`t stop!!!"
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user