Merge branch 'master' into dist/eole/2.7.0/master
This commit is contained in:
commit
38404340d4
|
@ -28,6 +28,8 @@ then
|
|||
|
||||
previousUsers=($(awk -F ':' '{print $1}' ${readerfile} ))
|
||||
|
||||
index=0
|
||||
|
||||
for user in ${accounts[@]}
|
||||
do
|
||||
PASS=$(awk -F ':' "/${user}:/ {print \$2}" ${readerfile})
|
||||
|
@ -54,7 +56,6 @@ then
|
|||
done
|
||||
fi
|
||||
|
||||
index=0
|
||||
for hst in ${hostsList[@]}
|
||||
do
|
||||
SQL="DROP USER IF EXISTS '${user}'@'${hst}';"
|
||||
|
@ -86,4 +87,3 @@ then
|
|||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue