projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow dumping a list of outstanding invitations.
[oweals/tinc.git]
/
src
/
fsck.c
diff --git
a/src/fsck.c
b/src/fsck.c
index 8df95ec6f7a17de386a9f51c78d1a886dc3e5dd9..205a599c4eef10354b9ce9f7c4a08e17c05932a8 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) {
+#ifdef HAVE_MINGW
+ int uid = 0;
+#else
uid_t uid = getuid();
+#endif
// Check that tinc.conf is readable.