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,11 +282,12 @@ 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
|
// Clean STDIN buf
|
||||||
while ((key = getchar()) != '\n')
|
while ((key = getchar()) != '\n')
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!password)
|
if (!password)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user