浏览代码

nebula-cert cmdnow throws help message when fail

master
HMSheets 3 年前
父节点
当前提交
c86867cd5a
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      refresh-NebulaCA

+ 6
- 0
refresh-NebulaCA 查看文件

@@ -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

正在加载...
取消
保存