diff -r 8f90dcfd0439 -r dd5c0ebdf54f dav/config.c --- a/dav/config.c Tue Sep 05 11:42:08 2017 +0200 +++ b/dav/config.c Tue Sep 05 12:00:49 2017 +0200 @@ -100,7 +100,7 @@ switch(errno) { case ENOENT: { create_default_config(file); - break; + return 0; } default: { perror("Cannot load config.xml");