Fix ShellCheck errors: remove local outside functions, fix openssl redirections, unquote loop var
This commit is contained in:
+1
-1
@@ -775,7 +775,7 @@ cmd_status() {
|
||||
echo
|
||||
|
||||
echo -e "# ${BOLD}TLS Certificates${NC}"
|
||||
for d in "$DOMAIN"; do
|
||||
for d in $DOMAIN; do
|
||||
local cert="/etc/letsencrypt/live/${d}/fullchain.pem"
|
||||
if [[ -f "$cert" ]]; then
|
||||
local expiry
|
||||
|
||||
Reference in New Issue
Block a user