Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
51e85716
Commit
51e85716
authored
Apr 19, 2016
by
neil
Browse files
minor: fix apachectl error message
parent
db0534ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
51e85716
...
...
@@ -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
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment