cd_openssl test
This commit is contained in:
parent
9838ed3a6c
commit
86902bea36
1 changed files with 1 additions and 1 deletions
2
cd.sh
2
cd.sh
|
@ -606,7 +606,7 @@ cd_mkdir () {
|
|||
|
||||
cd_openssl () {
|
||||
local file="${1}"
|
||||
if [ "${file}" ] ; then
|
||||
if [ -f "${file}" ] ; then
|
||||
openssl x509 -noout -text -in "${file}" || exit
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue