sshfs: fork ssh in its own namespace so it wont keep the mountpoint open
This commit is contained in:
parent
3e3d8880d1
commit
6ed716eab6
1 changed files with 1 additions and 1 deletions
|
@ -1365,7 +1365,7 @@ threadmain(int argc, char **argv)
|
|||
}
|
||||
pipe(pfd);
|
||||
rdfd = wrfd = pfd[0];
|
||||
procrfork(startssh, nil, mainstacksize, RFFDG|RFNOTEG);
|
||||
procrfork(startssh, nil, mainstacksize, RFFDG|RFNOTEG|RFNAMEG);
|
||||
close(pfd[1]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue