minor: fix apachectl error message

This commit is contained in:
neil committed 2016-04-19 18:34:04 +08:00
1 parent db0534ed97
commit 51e85716ee
1 file changed
+5
+5
View File
@@ -809,6 +809,11 @@ _initpath() {
_apachePath() {
if ! _exists apachectl ; then
_err "'apachecrl not found. It seems that apache is not installed, or you are not root user.'"
_err "Please use webroot mode to try again."
return 1
fi
httpdconfname="$(apachectl -V | grep SERVER_CONFIG_FILE= | cut -d = -f 2 | tr -d '"' )"
if _startswith "$httpdconfname" '/' ; then
httpdconf="$httpdconfname"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.