diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 00:41:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-26 00:41:45 +0100 |
commit | ae9b44b64c8494f2cec4198ce9034c53f48ce699 (patch) | |
tree | 432c9c65d54e22232b149eef50ed728f8e14f0be /src | |
parent | 46f190483facaccf6f8f2bfba453f7c7dd231b22 (diff) | |
parent | 9dae55f4bb7d2f5d09995c5560e83e22b96df89f (diff) |
Merge pull request #1674 from evverx/run-fix-couldnot-find-executable
run: fix "couldn't find executable" for the existing executables
Diffstat (limited to 'src')
-rw-r--r-- | src/run/run.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/run/run.c b/src/run/run.c index 6d3e739882..e81d0892e3 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1162,11 +1162,6 @@ int main(int argc, char* argv[]) { log_error_errno(r, "Failed to find executable %s: %m", argv[optind]); goto finish; } - if (r == 0) { - log_error("Couldn't find executable %s.", argv[optind]); - r = -ENOENT; - goto finish; - } argv[optind] = command; } |