Update qbittorrent.tpl

pull/5/head
midoks 5 years ago
parent f53377cc7d
commit 02beb55896
  1. 4
      plugins/qbittorrent/init.d/qbittorrent.tpl

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

Loading…
Cancel
Save