Commit c083e078 authored by neil's avatar neil
Browse files

minor, remove unnecessary message

parent ec9fc8cb
...@@ -987,7 +987,7 @@ _restoreApache() { ...@@ -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 ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment