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:
Ludovic Poujol 2019-10-14 10:21:05 +02:00
parent 283d0bccad
commit 234ac67634

View file

@ -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