Fix op_checkoccurencename() in web-add.sh
Ensure that we can add foo.net while having www.foo.net somewhere in out config files
This commit is contained in:
parent
f7659cee6d
commit
9523fff658
|
@ -1075,7 +1075,7 @@ op_checkoccurencename() {
|
|||
fi
|
||||
done
|
||||
|
||||
echo "$servernames" "$aliases" | grep -w "$name"
|
||||
echo "$servernames" "$aliases" | grep -wE "\s$name"
|
||||
else
|
||||
usage
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue