Fix a bug in adept_activate : cannot ask for interactive password if output directory already exists

This commit is contained in:
Grégory Soutadé 2022-02-22 20:58:36 +01:00
parent 9648157bf7
commit 41f1a1e980

View File

@ -282,10 +282,11 @@ int main(int argc, char** argv)
goto end; goto end;
if (key == 'y' || key == 'Y') if (key == 'y' || key == 'Y')
break; break;
// Clean STDIN buf
while ((key = getchar()) != '\n')
;
} }
// Clean STDIN buf
while ((key = getchar()) != '\n')
;
} }
if (!password) if (!password)