1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00
pi-hole/advanced/Scripts
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
..
database_migration Clean up bash script formatting 2021-11-25 14:12:09 -08:00
chronometer.sh Clean up bash script formatting 2021-11-25 14:12:09 -08:00
COL_TABLE Assorted typo fixes. (#3126) 2020-03-08 16:53:14 -07:00
list.sh Clean up bash script formatting 2021-11-25 14:12:09 -08:00
pihole-reenable.sh Improved explanation of why this script is needed 2020-05-30 03:14:03 +02:00
piholeARPTable.sh fixed typos 2021-01-19 19:33:38 +01:00
piholeCheckout.sh Add execution bit accidentally dropped in #4106 (#4368) 2021-10-05 19:34:51 +01:00
piholeDebug.sh Clean up bash script formatting 2021-11-25 14:12:09 -08:00
piholeLogFlush.sh give pihole its own logrotate state file 2021-07-09 20:00:10 -04:00
query.sh Clean up bash script formatting 2021-11-25 14:12:09 -08:00
setupLCD.sh Update links 2020-05-30 21:50:16 +03:00
update.sh Clean up bash script formatting 2021-11-25 14:12:09 -08:00
updatecheck.sh Merge branch 'development' into release/v4.3 2019-05-18 13:18:14 -07:00
version.sh Fix pihole -v output if WebAdmin not installed (#4370) 2021-12-02 20:46:11 +00:00
webpage.sh Clean up bash script formatting 2021-11-25 14:12:09 -08:00