Fix chmod for all paths. Thanks pazz0! - teed - A multiplex relay tee(1) daemon. HTML git clone git://bitreich.org/teed git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/teed DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit b79b790fed08bd18a0979c5d94f039dd64d55f5a DIR parent 8e004a8b16297a78bb32562bf3c3f93dae632a79 HTML Author: Christoph Lohmann <20h@r-36.net> 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(-) --- DIR 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; }