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

Loading…
Cancel
Save