Subhaditya Nath ba6d700e7e
Fix pihole -v output if WebAdmin not installed (#4370)
* Fix https://github.com/pi-hole/pi-hole/issues/4279

Signed-off-by: Subhaditya Nath <sn03.general@gmail.com>

* Don't ignore exit code of version.sh

If it exits with a non-zero return code, that means some error occurred,
and so it shouldn't be ignored.

Signed-off-by: Subhaditya Nath <sn03.general@gmail.com>

* Implement changes suggested by @Michalng

Signed-off-by: Subhaditya Nath <sn03.general@gmail.com>

* Implement changes suggested by @PromoFaux

Signed-off-by: Subhaditya Nath <sn03.general@gmail.com>

* Always source /etc/pihole/setupVars.conf

https://github.com/pi-hole/pi-hole/pull/4370#issuecomment-978149567

Co-authored-by: Adam Warner <me@adamwarner.co.uk>
2021-12-02 20:46:11 +00:00
..
2021-11-25 14:12:09 -08:00
2020-03-08 16:53:14 -07:00
2021-11-25 14:12:09 -08:00
2021-01-19 19:33:38 +01:00
2021-11-25 14:12:09 -08:00
2021-11-25 14:12:09 -08:00
2020-05-30 21:50:16 +03:00
2021-11-25 14:12:09 -08:00
2021-11-25 14:12:09 -08:00