mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
minor, remove unnecessary message
This commit is contained in:
parent
ec9fc8cbf7
commit
c083e078d4
4
acme.sh
4
acme.sh
@ -987,7 +987,7 @@ _restoreApache() {
|
|||||||
|
|
||||||
cat "$APACHE_CONF_BACKUP_DIR/$httpdconfname" > "$httpdconf"
|
cat "$APACHE_CONF_BACKUP_DIR/$httpdconfname" > "$httpdconf"
|
||||||
_debug "Restored: $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."
|
_err "Sorry, restore apache config error, please contact me."
|
||||||
return 1;
|
return 1;
|
||||||
fi
|
fi
|
||||||
@ -1040,7 +1040,7 @@ Allow from all
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if ! apachectl -t ; then
|
if ! apachectl -t >/dev/null 2>&1; then
|
||||||
_err "Sorry, apache config error, please contact me."
|
_err "Sorry, apache config error, please contact me."
|
||||||
_restoreApache
|
_restoreApache
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user