prereq: SetupHostCommand: fix wrong check result
authorPetr Štetiar <[email protected]>
Tue, 23 May 2023 12:17:47 +0000 (14:17 +0200)
committerPetr Štetiar <[email protected]>
Tue, 23 May 2023 15:49:57 +0000 (17:49 +0200)
commit7855378fcd7ed7cb0a223238a99bac0b8e46c380
treeedc0fae3a90d9d8159c5ecc9bec806bcf834f08d
parente3a681bab4b2c193704e76b8a6091e57f0fab14e
prereq: SetupHostCommand: fix wrong check result

Tony has reported, that CI tools job is failing for him in macOS
container due to prereq check failure for GNU `install` utility.

Michael diagnosed it and from his traces it was clear, that the issue is
caused by a wrong return value in the success check case, so lets fix it
accordingly.

Fixes: f75204036ccc ("prereq-build: allow host command symlinks to update")
Reported-by: Tony Ambardar <[email protected]>
Diagnosed-by: Michael Pratt <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]>
include/prereq.mk