Menu did not show up when not submitting a domain

This commit is contained in:
Frank Bischof 2023-01-12 13:14:21 +01:00
parent 967a8247f2
commit 385a96a23b

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
######################################## ########################################
# Author: F. Bischof (frank@meer-web.nl) # Author: F. Bischof (frank@meer-web.nl)
# Version: 1.4.1 # Version: 1.4.2
# Date: 12-01-2022 # Date: 12-01-2022
######################################## ########################################
ENCRYPTION="sha256" ENCRYPTION="sha256"
@ -115,7 +115,8 @@ if [ "$1" == '' ]
then then
echo -en "Domain: " echo -en "Domain: "
read DOMAIN read DOMAIN
else fi
DOMAIN=$1 DOMAIN=$1
CONFIG_FILE=$2 CONFIG_FILE=$2
# Show options menu # Show options menu
@ -129,7 +130,6 @@ else
echo "8. Decode CRT" echo "8. Decode CRT"
echo "9. Match CRT/KEY" echo "9. Match CRT/KEY"
echo -en "Option: "; read OPTION echo -en "Option: "; read OPTION
fi
case ${OPTION} in case ${OPTION} in
1) create_ssc ;; 1) create_ssc ;;