diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-17 13:44:12 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-18 15:28:48 +0200 |
commit | f7bc0c324a79fef806d92fabafb77c1e1d68b5b4 (patch) | |
tree | acd9af5f8dea02b6a73427869583c94745b12890 /src/run | |
parent | Add CLOSE_AND_REPLACE helper (diff) | |
download | systemd-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.c | 2 |
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]); |