projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If LOCALSTATEDIR is inaccessible, store the pid and socket files in the configuration...
[tinc]
/
src
/
fsck.c
diff --git
a/src/fsck.c
b/src/fsck.c
index
8df95ec
..
205a599
100644
(file)
--- a/
src/fsck.c
+++ b/
src/fsck.c
@@
-155,7
+155,11
@@
static void check_conffile(const char *fname, bool server) {
}
int fsck(const char *argv0) {
}
int fsck(const char *argv0) {
+#ifdef HAVE_MINGW
+ int uid = 0;
+#else
uid_t uid = getuid();
uid_t uid = getuid();
+#endif
// Check that tinc.conf is readable.
// Check that tinc.conf is readable.