projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the documentation of the tinc command.
[tinc]
/
src
/
invitation.c
diff --git
a/src/invitation.c
b/src/invitation.c
index
6ccfc1f
..
59bcf45
100644
(file)
--- a/
src/invitation.c
+++ b/
src/invitation.c
@@
-823,7
+823,7
@@
int cmd_join(int argc, char *argv[]) {
}
// Make sure confbase exists and is accessible.
}
// Make sure confbase exists and is accessible.
- if(
strcmp(confdir, confbase)
&& mkdir(confdir, 0755) && errno != EEXIST) {
+ if(
!confbase_given
&& mkdir(confdir, 0755) && errno != EEXIST) {
fprintf(stderr, "Could not create directory %s: %s\n", confdir, strerror(errno));
return 1;
}
fprintf(stderr, "Could not create directory %s: %s\n", confdir, strerror(errno));
return 1;
}