Updating gen-unifi-cert.sh
parent
54a91de530
commit
fe15e27694
|
@ -49,7 +49,7 @@ done
|
||||||
|
|
||||||
MAINDOMAIN=${domains[0]}
|
MAINDOMAIN=${domains[0]}
|
||||||
|
|
||||||
if [[ ! -z ${MAINDOMAIN} ]]; then
|
if [[ -z ${MAINDOMAIN} ]]; then
|
||||||
echo "Error: At least one -d argument is required"
|
echo "Error: At least one -d argument is required"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue