forked from soutade/libgourou
Fix a bug in adept_activate : cannot ask for interactive password if output directory already exists
This commit is contained in:
parent
9648157bf7
commit
41f1a1e980
|
@ -282,10 +282,11 @@ int main(int argc, char** argv)
|
|||
goto end;
|
||||
if (key == 'y' || key == 'Y')
|
||||
break;
|
||||
// Clean STDIN buf
|
||||
while ((key = getchar()) != '\n')
|
||||
;
|
||||
}
|
||||
|
||||
// Clean STDIN buf
|
||||
while ((key = getchar()) != '\n')
|
||||
;
|
||||
}
|
||||
|
||||
if (!password)
|
||||
|
|
Loading…
Reference in New Issue
Block a user