summaryrefslogtreecommitdiffstats
path: root/src/run
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-17 13:44:12 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-18 15:28:48 +0200
commitf7bc0c324a79fef806d92fabafb77c1e1d68b5b4 (patch)
treeacd9af5f8dea02b6a73427869583c94745b12890 /src/run
parentAdd CLOSE_AND_REPLACE helper (diff)
downloadsystemd-f7bc0c324a79fef806d92fabafb77c1e1d68b5b4.tar.xz
systemd-f7bc0c324a79fef806d92fabafb77c1e1d68b5b4.zip
Rename find_binary to find_executable
"executable" is more correct than "binary", since scripts are OK too.
Diffstat (limited to 'src/run')
-rw-r--r--src/run/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/run.c b/src/run/run.c
index 38446d8814..bdd82c085a 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -1725,7 +1725,7 @@ static int run(int argc, char* argv[]) {
/* Patch in an absolute path */
- r = find_binary(arg_cmdline[0], &command);
+ r = find_executable(arg_cmdline[0], &command);
if (r < 0)
return log_error_errno(r, "Failed to find executable %s: %m", arg_cmdline[0]);