wait for mount to complete before exiting
This commit is contained in:
parent
143cdf5758
commit
a83ccf38d7
3 changed files with 12 additions and 2 deletions
|
|
@ -97,6 +97,11 @@ threadmain(int argc, char **argv)
|
|||
sendp(fusechan, nil); /* sync */
|
||||
|
||||
proccreate(fusereader, nil, STACK);
|
||||
/*
|
||||
* Now that we're serving FUSE, we can wait
|
||||
* for the mount to finish and exit back to the user.
|
||||
*/
|
||||
waitfuse();
|
||||
threadexits(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue