From a640892ecb5918215e16f83341d79b63e84dfa56 Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Tue, 29 Mar 2022 18:17:03 +0200 Subject: [PATCH] Syntax: no space before ":" --- shellpki | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shellpki b/shellpki index f1b4b1f..e3d66f5 100755 --- a/shellpki +++ b/shellpki @@ -65,7 +65,7 @@ List all certificates : ${0} list 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