]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/analyze/analyze-verify.c
core: Add ExecSearchPath parameter to specify the directory relative to which binarie...
[thirdparty/systemd.git] / src / analyze / analyze-verify.c
index 2a436c545ef210c4ed7dc3e67f07d9855bf8a456..f3e5d3530d6587b9479ed7a57ef464e761346a28 100644 (file)
@@ -142,7 +142,7 @@ int verify_executable(Unit *u, const ExecCommand *exec, const char *root) {
         if (exec->flags & EXEC_COMMAND_IGNORE_FAILURE)
                 return 0;
 
-        r = find_executable_full(exec->path, root, false, NULL, NULL);
+        r = find_executable_full(exec->path, root, NULL, false, NULL, NULL);
         if (r < 0)
                 return log_unit_error_errno(u, r, "Command %s is not executable: %m", exec->path);