From be14af21d1deddb376ad031648c498633a8e9be5 Mon Sep 17 00:00:00 2001 From: runapp Date: Mon, 23 Mar 2020 15:58:33 +0800 Subject: [PATCH] modify format to pass auto test --- acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index a2015503..e59bc0df 100755 --- a/acme.sh +++ b/acme.sh @@ -3059,7 +3059,7 @@ _setNginx() { _start_f="$NGINX_CONF" fi _debug "Start detect nginx conf for $_d from:$_start_f" - if ! pushd $(dirname $_start_f) > /dev/null; then + if ! pushd $(dirname $_start_f) >/dev/null; then _err "Can not chdir to nginx conf folder $(dirname $_start_f)" return 1 fi @@ -3067,7 +3067,7 @@ _setNginx() { _err "Can not find conf file for domain $d" return 1 fi - popd > /dev/null + popd >/dev/null _info "Found conf file: $FOUND_REAL_NGINX_CONF" _ln=$FOUND_REAL_NGINX_CONF_LN