akoimeexx / akoimeexx/apache2-vhost

Apache2 not found error when --version called

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.