mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
auth/factotum: fix password prompt hang
Fixes #51. R=rsc http://codereview.appspot.com/3431044
This commit is contained in:
parent
00f0146a5c
commit
d10a7ed9a8
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,6 @@ threadmain(int argc, char *argv[])
|
|||
char *mtpt;
|
||||
char err[ERRMAX];
|
||||
|
||||
rfork(RFNOTEG);
|
||||
|
||||
/* mtpt = "/mnt"; */
|
||||
mtpt = nil;
|
||||
owner = getuser();
|
||||
|
@ -72,6 +70,8 @@ threadmain(int argc, char *argv[])
|
|||
if(argc != 0)
|
||||
usage();
|
||||
|
||||
rfork(RFNOTEG);
|
||||
|
||||
if(trysecstore && havesecstore()){
|
||||
while(secstorefetch() < 0){
|
||||
rerrstr(err, sizeof err);
|
||||
|
|
Loading…
Reference in a new issue