Ver código fonte

nebula-cert cmdnow throws help message when fail

master
HMSheets 3 anos atrás
pai
commit
c86867cd5a
1 arquivos alterados com 6 adições e 0 exclusões
  1. +6
    -0
      refresh-NebulaCA

+ 6
- 0
refresh-NebulaCA Ver arquivo

@@ -123,5 +123,11 @@ if [[ $CERTISCASTATUS == true ]]; then
echo "DateTime: ${DATETIME}"
echo "NEWFILENAME: ${NEWFILENAME}"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
try
(
${ROOTPATH}/nebula-cert sign -name ${CANAME} -out-crt ${ROOTPATH}/${NEWFILENAME}.crt -out-key ${ROOTPATH}/${NEWFILENAME}.key
)
catch || {
help_msg
}
fi

Carregando…
Cancelar
Salvar