From b801bdb576e2cee1925eab89400e2b1921372368 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Tue, 14 Nov 2017 17:01:51 +0100 Subject: [PATCH] evoacme: use -printf instead of -exec basename --- evoacme/files/certbot.cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evoacme/files/certbot.cron b/evoacme/files/certbot.cron index 48289e09..2d8d4c1d 100755 --- a/evoacme/files/certbot.cron +++ b/evoacme/files/certbot.cron @@ -9,6 +9,6 @@ [ -f /etc/default/evoacme ] && . /etc/default/evoacme CRT_DIR="${CRT_DIR:-'/etc/letsencrypt'}" -find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -exec basename {} \; | while read vhost; do +find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -printf "%f\n" | while read vhost; do QUIET=1 evoacme "$vhost" done