From 92e0c920c7e4ad99a9a0b388038e38588e251559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 18 May 2026 12:28:08 +0200 Subject: [PATCH] basic/path-util: fix executable_is_good MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by qarmin (RafaƂ Mikrut). --- src/basic/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/path-util.c b/src/basic/path-util.c index fedb347e4a..b41029b157 100644 --- a/src/basic/path-util.c +++ b/src/basic/path-util.c @@ -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");