aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/auth/factotum/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/auth/factotum/main.c b/src/cmd/auth/factotum/main.c
index 2cf39661..1f603ac7 100644
--- a/src/cmd/auth/factotum/main.c
+++ b/src/cmd/auth/factotum/main.c
@@ -70,8 +70,6 @@ threadmain(int argc, char *argv[])
if(argc != 0)
usage();
- rfork(RFNOTEG);
-
if(trysecstore && havesecstore()){
while(secstorefetch() < 0){
rerrstr(err, sizeof err);
@@ -81,7 +79,9 @@ threadmain(int argc, char *argv[])
fprint(2, "Enter an empty password to quit.\n");
}
}
-
+
+ rfork(RFNOTEG);
+
fsinit0();
threadpostmountsrv(&fs, service, mtpt, MBEFORE);
threadexits(nil);