diff options
author | Alan Somers <asomers@FreeBSD.org> | 2025-08-05 16:04:35 -0600 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2025-08-06 07:47:08 -0600 |
commit | 5f9aa574da6ad6537540747e5dd7e0a69f417881 (patch) | |
tree | 38774bd20d3a5ad1cd6cd402a3e700e5ead8ea2b /filesystems/zrepl/files/500.zrepl.in | |
parent | archivers/py-borgbackup: Add github to MASTER_SITES (diff) |
filesystems/zrepl: fix 500.zrepl periodic job with multiple certs
Fix the sh syntax in the optional 500.zrepl periodic job so it will work
even if there are multiple .crt files present.
PR: 288682
Approved by: driesm (maintainer)
Sponsored by: ConnectWise, LLC
Diffstat (limited to 'filesystems/zrepl/files/500.zrepl.in')
-rw-r--r-- | filesystems/zrepl/files/500.zrepl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystems/zrepl/files/500.zrepl.in b/filesystems/zrepl/files/500.zrepl.in index b7f1b3abb4d3..e4a83608a75a 100644 --- a/filesystems/zrepl/files/500.zrepl.in +++ b/filesystems/zrepl/files/500.zrepl.in @@ -24,7 +24,7 @@ case "$weekly_zrepl_enable" in echo echo "Check Zrepl certificates for upcoming expiration:" - for cert in `/usr/bin/find %%ETCDIR%% -maxdepth 1 -name *.crt`; do + for cert in `/usr/bin/find %%ETCDIR%% -maxdepth 1 -name "*.crt"`; do /usr/bin/openssl x509 --in "${cert}" \ -checkend "${weekly_zrepl_warntime}" |