Syntax: no space before ":"
This commit is contained in:
parent
6d71a5a177
commit
a640892ecb
8
shellpki
8
shellpki
|
@ -65,7 +65,7 @@ List all certificates :
|
|||
${0} list <options>
|
||||
|
||||
Options
|
||||
-a, --all list all certificates : valid and revoked ones
|
||||
-a, --all list all certificates: valid and revoked ones
|
||||
-v, --valid list all valid certificates
|
||||
-r, --revoked list all revoked certificates
|
||||
|
||||
|
@ -797,7 +797,7 @@ revoke() {
|
|||
crt_file="${CRT_DIR}/${cn}.crt"
|
||||
# check if CRT exists
|
||||
if [ ! -f "${crt_file}" ]; then
|
||||
error "Unknow CN : ${cn} (\`${crt_file}' not found)"
|
||||
error "Unknow CN: ${cn} (\`${crt_file}' not found)"
|
||||
fi
|
||||
|
||||
# check if CRT is a valid
|
||||
|
@ -886,7 +886,7 @@ cert_end_date() {
|
|||
|
||||
check() {
|
||||
# default expiration alert
|
||||
# TODO : permit override with parameters
|
||||
# TODO: permit override with parameters
|
||||
min_day=90
|
||||
cur_epoch=$(date -u +'%s')
|
||||
|
||||
|
@ -917,7 +917,7 @@ main() {
|
|||
SYSTEM=$(uname | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
# default config
|
||||
# TODO : override with /etc/default/shellpki
|
||||
# TODO: override with /etc/default/shellpki
|
||||
CONF_FILE="/etc/shellpki/openssl.cnf"
|
||||
|
||||
if [ "$(uname)" = "OpenBSD" ]; then
|
||||
|
|
Loading…
Reference in a new issue