https://bz.apache.org/bugzilla/show_bug.cgi?id=70123
Bug ID: 70123
Summary: apachectl status/fullstatus should report a clear
error when configured text browser is missing
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: support
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
`apachectl status` and `apachectl fullstatus` rely on the text browser command
configured by the `LYNX` variable in the generated `apachectl` script,
commonly:
LYNX="lynx -dump"
When missing, the current behavior is a raw shell error such as:
apachectl: line 95: lynx: command not found
For `status`, this is also easy to miss because the command is piped through
`awk`.
Before running `$LYNX $STATUSURL`, `apachectl` should check whether `$LYNX`
exists. If it does not, it should print a clear diagnostic and exit nonzero.
```
apachectl: status requires a text-based browser, but '$LYNX' was not found.
Install lynx, links, or elinks, or edit the LYNX setting in apachectl.
```
The upstream source file appears to be `support/apachectl.in`
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]