log: example shouldn't throw a warning
This commit is contained in:
parent
494e55c95a
commit
d6e98cf13b
@ -14,7 +14,7 @@ function configReplace() {
|
||||
source="$1"
|
||||
target="\"$2\""
|
||||
|
||||
if ! echo "$2" | grep -qe "^[a-zA-Z0-9_-]*$"; then
|
||||
if ! echo "$2" | grep -qe "^[a-zA-Z0-9_ -]*$"; then
|
||||
echo "[initConfig.sh]Warning your configured value for $source doesn't match regex ^[a-zA-Z0-9_-]+$. Special symbols could crash this script because they are not sanitized."
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user