Skip to content

Commit 4ab4d7e

Browse files
committed
Validate user input on domain
1 parent 93d194c commit 4ab4d7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/v-generate-ssl-cert

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ fi
7070

7171
args_usage='DOMAIN EMAIL COUNTRY STATE CITY ORG UNIT [ALIASES] [FORMAT]'
7272
check_args '7' "$#" "$args_usage"
73-
is_format_valid 'domain_alias' 'format'
73+
is_format_valid 'domain' 'aliases' 'format'
74+
7475

7576
if [ ! -f /root/.rnd ]; then
7677
touch /root/.rnd

0 commit comments

Comments
 (0)