Update certs.inc

This commit is contained in:
2023-11-10 11:17:29 -06:00
parent c46853629f
commit db5450a699

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
NEWCERT(){
CERTTEST=0
if [ ${3} -eq 0 ] || [ ${3} -eq 1 ]; then
if [ "${3}" != "" ] && ([ ${3} -eq 0 ] || [ ${3} -eq 1 ]); then
NEW_CERT=${1}
CERTTEST=${3}
else