Browse Source

fix bug

master
xiaoz 3 years ago
parent
commit
0b7a1eeb4a
  1. 2
      node_exporter.sh

2
node_exporter.sh

@ -38,7 +38,7 @@ depend(){
#下载 #下载
download(){ download(){
#下载之前检查node_exporter是否安装过 #下载之前检查node_exporter是否安装过
if [ -f "/opt/node_exporter" ] if [ -f "/opt/node_exporter/node_exporter" ]
then then
echo "node_exporter has been installed." echo "node_exporter has been installed."
exit exit

Loading…
Cancel
Save