Explorar el Código

update shutdown.sh

reghao hace 4 meses
padre
commit
0ae37a56cd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      zzz/shutdown.sh

+ 1 - 1
zzz/shutdown.sh

@@ -13,7 +13,7 @@ app_name7='tnb-data'
 
 for((i=0; i<=7; i++));
 do
-    app_name=$(eval echo \${app_name$i})
+  app_name=$(eval echo \${app_name$i})
 	pid=`ps aux | grep ${app_name} | grep -v 'grep' | tr -s ' '| cut -d ' ' -f 2`
     if [[ -z ${pid} ]];
     then