diff -r dff5f4c23aa7 -r 8aa2dc02d9b7 dav/main.c --- a/dav/main.c Wed Oct 23 09:46:33 2024 +0200 +++ b/dav/main.c Wed Oct 23 10:32:15 2024 +0200 @@ -53,9 +53,9 @@ #include "error.h" #include "assistant.h" #include "system.h" -#include "pwd.h" #include "finfo.h" #include "main.h" +#include "connect.h" static DavContext *ctx; @@ -139,6 +139,9 @@ print_usage(argv[0]); return -1; } + if(cmd_getoption(args, "noinput")) { + pwdstore_set_pwinput_func(NULL, NULL); + } sys_init(); xmlGenericErrorFunc fnc = xmlerrorfnc;