summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/run/run.c5
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;
}