Pihole -up --check-only fails on FTL

Yep...

That needs to change to:

local funcOutput
funcOutput=$(get_binary_name) #Store output of get_binary_name here
local binary
binary="pihole-FTL${funcOutput##*pihole-FTL}" #binary name will be the last line of the output of get_binary_name (it always begins with pihole-FTL)

if FTLcheckUpdate "${binary}" > /dev/null; then

Binary isn't getting set because binary isn't being passed into FTLcheckUpdate as it would in a normal install run. This is already being done in release/v/5.0, we just missed it when cherry picking into release/v4.3.3

https://github.com/pi-hole/pi-hole/blob/release/v5.0/advanced/Scripts/update.sh#L131-L136

2 Likes