Fix op_checkoccurencename() in web-add.sh (again)
I had it wrong (again) in 283d0bccad
:-(
https://www.youtube.com/watch?v=TMy6X5cQul8
This commit is contained in:
parent
283d0bccad
commit
234ac67634
1 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,7 @@ op_checkoccurencename() {
|
|||
fi
|
||||
done
|
||||
|
||||
echo "$servernames" "$aliases" | grep -E "\b$name"
|
||||
echo "$servernames" "$aliases" | grep -E "(^|\s)$name(\s|$)"
|
||||
else
|
||||
usage
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue