Bug 25480: Don't hide apache error and display incorrect error
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 May 2020 11:05:48 +0000 (13:05 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 22 May 2020 14:14:11 +0000 (14:14 +0000)
commit3077bc733ea5290d6dda0b0fea0b501389070074
treebfa5c5aa24c7275b1aba008dda3f4a8de15df5d5
parentce695e062364ceada672f5ced2a258dabb3d4729
Bug 25480: Don't hide apache error and display incorrect error

When searching if some apache mod are enable we are hiding the error (2> /dev/null) and display an error about the (guessed) missing module.

It can lead to wrong tracks, let display the original apache error if there is one.

This is linked with https://gitlab.com/koha-community/koha-testing-docker/-/merge_requests/119

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 4e2078d81b3ccb17e9794a6452578c5e87817e70)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
debian/scripts/koha-create