Skip to content

Commit 18e854a

Browse files
committed
Elevate if needed when restoring ports
Fixes microsoft/vscode-remote-release#5776
1 parent 3afe028 commit 18e854a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/services/remote/common/remoteExplorerService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ export class TunnelModel extends Disposable {
547547
remote: { host: tunnel.remoteHost, port: tunnel.remotePort },
548548
local: tunnel.localPort,
549549
name: tunnel.name,
550-
privacy: tunnel.privacy
550+
privacy: tunnel.privacy,
551+
elevateIfNeeded: true
551552
});
552553
}
553554
}

0 commit comments

Comments
 (0)