path-util: make find_executable() work without /proc mounted
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 22 Aug 2021 21:16:48 +0000 (06:16 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 12 Oct 2021 15:49:12 +0000 (17:49 +0200)
commit2d388e6c534509d140aea40852ea543ed7054ac1
tree86a286f80b9644260c1b05bc2c2f1baaa42dff64
parent1f77dbfaaedcb8bdecc6610fa96f7fed80bfb8d8
path-util: make find_executable() work without /proc mounted

Follow-up for 888f65ace6296ed61285d31db846babf1c11885e.

Hopefully fixes #20514.

(cherry picked from commit 93413acd3ef3a637a0f31a1d133b103e1dc81fd6)
(cherry picked from commit 727d0b55f46468d6171f4a326bd3139bab3c93ab)
src/basic/path-util.c