X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Ftincd.c;h=3bc17e233fd34f69c77dc094f1c91499a0ccd938;hb=af9ee7ff003fb448b783ccf39347907adc239cb2;hp=eb03165f357edb71565bf38b5b9082fb8a9f02f6;hpb=537a9366718b39278fd4eb33b2ac568011e374cc;p=tinc diff --git a/src/tincd.c b/src/tincd.c index eb03165f..3bc17e23 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -43,8 +43,6 @@ #include #endif -#include - #include "conf.h" #include "control.h" #include "crypto.h" @@ -340,6 +338,7 @@ int main(int argc, char **argv) { return 1; make_names(true); + chdir(confbase); if(show_version) { printf("%s version %s (built %s %s, protocol %d.%d)\n", PACKAGE,