akoimeexx / akoimeexx/apache2-vhost

Apache2 not found error when --version called

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
C
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

If apache2-vhost is run by a user that does not have apache2 in its path, it throws an error that apache2 cannot be found. This is a reproducible error that occurs for me in Debian Wheezy (apache2 is in /usr/sbin/, non-elevated users do not have this added to their PATH by default).

Output is as follows:

``` bash
johnathan@barad-dur:~$ apache2-vhost --version
sh: 1: apache2: not found
apache2-vhost: Apache2 vhost configuration manager v0.0.2 by Johnathan McKnight
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。