This commit is contained in:
2023-10-19 18:33:35 +08:00
parent 6fafbce7d7
commit a34eaecc7b

View File

@@ -6,7 +6,7 @@ toollist="zip unzip"
#分发到各个节点,这里分发到nehosts文件中的主机中. #分发到各个节点,这里分发到nehosts文件中的主机中.
while read line while read line
do do
if [[ "$line" =~ ^[^[:space:]]*# ] -a [ -z "$line" ]]; then if [[ "$line" =~ ^[^[:space:]]*# || -z "$line" ]]; then
continue continue
fi fi
user=`echo $line | cut -d " " -f 2` user=`echo $line | cut -d " " -f 2`