Sat, 15 Sep 2018 11:58:17 +0200
don't ask for master pw if noinput option is active
dav/main.c | file | annotate | diff | comparison | revisions |
--- a/dav/main.c Sat Sep 15 11:56:36 2018 +0200 +++ b/dav/main.c Sat Sep 15 11:58:17 2018 +0200 @@ -407,7 +407,7 @@ static DavSession* connect_to_repo(Repository *repo, CmdArgs *a) { char *user = repo->user; char *password = repo->password; - if(repo->stored_user) { + if(repo->stored_user && !cmd_getoption(a, "noinput")) { PwdStore *pstore = get_pwdstore(); if(pstore) { char *ps_password = util_password_input("Unlock password store: ");