fix(fs/_mount/_sync): dont use --target
Because it also checks the parents of the path.
This commit is contained in:
parent
94d0809380
commit
60243d8517
@ -89,7 +89,7 @@ export default class MountHandler extends LocalHandler {
|
||||
try {
|
||||
// the failure may mean it's already mounted, use `findmnt` to check
|
||||
// that's the case
|
||||
await this._execa('findmnt', ['--target', realPath], {
|
||||
await this._execa('findmnt', [realPath], {
|
||||
stdio: 'ignore',
|
||||
})
|
||||
} catch (_) {
|
||||
|
Loading…
Reference in New Issue
Block a user