Syntax: no space before ":"

This commit is contained in:
Jérémy Dubois 2022-03-29 18:17:03 +02:00
parent 6d71a5a177
commit a640892ecb

View file

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