2020-03-07 14:03:18

This commit is contained in:
monlor
2020-03-07 14:03:19 +08:00
parent 4c56e56e10
commit f370563c8d
2 changed files with 3 additions and 4 deletions

View File

@@ -4,5 +4,5 @@ needver="0.0.1"
supports="linux_arm,linux_mips,linux_x86_64"
backupfiles="config/ftpuser.conf"
appinfo="快速搭建Ftp服务器局域网文件共享"
newinfo="修复vsftpd脚本错误"
version="0.0.5"
newinfo="修复vsftpd状态显示bug"
version="0.0.6"

View File

@@ -135,8 +135,7 @@ stop () {
status() {
result=$(pssh | grep ${mbroot}/apps/${appname}/bin/${appname} | grep -v grep | wc -l)
if [ "$result" == '0' ]; then
if [ -n "$(pidof "${BINPATH}")" ]; then
status="未运行|0"
else
status="运行端口号: ${port}|1"