From 18a4b11dac3eb98a05e13cbe20733fe07a5fbcd3 Mon Sep 17 00:00:00 2001 From: P3terChan Date: Tue, 2 May 2017 06:47:42 +0800 Subject: [PATCH] =?UTF-8?q?v1.1#=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E4=B8=8B=E8=BD=BD=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- status.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/status.sh b/status.sh index 5ef65c2..dabdb57 100644 --- a/status.sh +++ b/status.sh @@ -10,7 +10,7 @@ export PATH # Blog: https://www.p3ter.me #================================================= -sh_ver="1.0" +sh_ver="1.1" file="/usr/local/ServerStatus" web_file="/usr/local/ServerStatus/web" server_file="/usr/local/ServerStatus/server" @@ -79,7 +79,7 @@ Download_Server_Status_client(){ [[ ! -e ${file} ]] && mkdir "${file}" cd "${file}" wget -N --no-check-certificate "https://raw.githubusercontent.com/P3terChan/ServerStatus/master/clients/client-psutil.py" - [[ ! -e "client-linux.py" ]] && echo -e "${Error} ServerStatus 客户端下载失败 !" && exit 1 + [[ ! -e "client-psutil.py" ]] && echo -e "${Error} ServerStatus 客户端下载失败 !" && exit 1 mv client-psutil.py status-client.py [[ ! -e "status-client.py" ]] && echo -e "${Error} ServerStatus 服务端文件夹重命名失败 !" && rm -rf client-psutil.py && exit 1 }