diff options
Diffstat (limited to 'src/cmd/9pfuse/main.c')
-rw-r--r-- | src/cmd/9pfuse/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c index 5a2ef8f6..db79a5ea 100644 --- a/src/cmd/9pfuse/main.c +++ b/src/cmd/9pfuse/main.c @@ -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); } |