diff options
Diffstat (limited to 'src/cmd/auth/factotum')
-rw-r--r-- | src/cmd/auth/factotum/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/auth/factotum/main.c b/src/cmd/auth/factotum/main.c index fdf4e1bb..2cf39661 100644 --- a/src/cmd/auth/factotum/main.c +++ b/src/cmd/auth/factotum/main.c @@ -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); |