From c083e078d444d2ea3bc90b62c5cc561671d5767a Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 9 Jun 2016 12:06:37 +0800 Subject: [PATCH] minor, remove unnecessary message --- acme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index 83ad3d2a..7ea96324 100755 --- a/acme.sh +++ b/acme.sh @@ -987,7 +987,7 @@ _restoreApache() { cat "$APACHE_CONF_BACKUP_DIR/$httpdconfname" > "$httpdconf" _debug "Restored: $httpdconf." - if ! apachectl -t ; then + if ! apachectl -t >/dev/null 2>&1 ; then _err "Sorry, restore apache config error, please contact me." return 1; fi @@ -1040,7 +1040,7 @@ Allow from all fi - if ! apachectl -t ; then + if ! apachectl -t >/dev/null 2>&1; then _err "Sorry, apache config error, please contact me." _restoreApache return 1;