Fix chmod for all paths. Thanks pazz0! - teed - A multiplex relay tee(1) daemon. | |
git clone git://bitreich.org/teed git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit b79b790fed08bd18a0979c5d94f039dd64d55f5a | |
parent 8e004a8b16297a78bb32562bf3c3f93dae632a79 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Mon, 7 Aug 2023 15:19:59 +0200 | |
Fix chmod for all paths. Thanks pazz0! | |
Diffstat: | |
M teed.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/teed.c b/teed.c | |
@@ -198,7 +198,7 @@ main(int argc, char *argv[]) | |
goto stop_serving; | |
} | |
- if (chmod(bindpaths[1], 0775) < 0) { | |
+ if (chmod(bindpaths[i], 0775) < 0) { | |
perror("chmod"); | |
goto stop_serving; | |
} |