We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f52fd89 commit ad715ecCopy full SHA for ad715ec
lib/createdb.sh
@@ -50,7 +50,7 @@ set_dbuserpass () {
50
}
51
52
add_granthost () {
53
- if expr "x$1" : 'x[-a-zA-Z0-9.*%_][-a-zA-Z0-9.*%_]*$' >/dev/null; then
+ if expr "$1" : '[-a-zA-Z0-9.*][-a-zA-Z0-9.*]*$' >/dev/null; then
54
granthosts="$granthosts $1"
55
else
56
echo "Expected --grant-host=HOSTNAME" 1>&2
0 commit comments