This commit is contained in:
simonzhangsz committed 2023-10-19 18:33:35 +08:00
1 parent 6fafbce7d7
commit a34eaecc7b
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ toollist="zip unzip"
#分发到各个节点,这里分发到nehosts文件中的主机中.
while read line
do
if [[ "$line" =~ ^[^[:space:]]*# ] -a [ -z "$line" ]]; then
if [[ "$line" =~ ^[^[:space:]]*# || -z "$line" ]]; then
continue
fi
user=`echo $line | cut -d " " -f 2`