basic/path-util: fix executable_is_good

Reported by qarmin (Rafał Mikrut).
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-05-18 12:28:08 +02:00
parent c91ddaf1ee
commit 92e0c920c7
+1 -1
View File
@@ -804,7 +804,7 @@ static int executable_is_good(const char *executable) {
if (r < 0)
return r;
return !PATH_IN_SET(d, "true"
return !PATH_IN_SET(d, "true",
"/bin/true",
"/usr/bin/true",
"/dev/null");