mirror of
https://github.com/Mailu/Mailu.git
synced 2025-02-09 13:23:54 +02:00
Check for dumpcerts.sh return status code
This commit is contained in:
parent
7c7b52d935
commit
a5b96553aa
@ -2,7 +2,7 @@
|
||||
|
||||
function dump() {
|
||||
echo "$(date) Dumping certificates"
|
||||
bash dumpcerts.sh /traefik/acme.json /tmp/work/
|
||||
bash dumpcerts.sh /traefik/acme.json /tmp/work/ || return
|
||||
|
||||
for crt_file in $(ls /tmp/work/certs/*); do
|
||||
pem_file=$(echo $crt_file | sed 's/certs/pem/g' | sed 's/.crt/-public.pem/g')
|
||||
|
Loading…
x
Reference in New Issue
Block a user