missed port forward check
This commit is contained in:
parent
565e81d329
commit
3f57604891
@ -547,7 +547,7 @@ impl Connection {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
if !self.file_transfer.is_some() {
|
if !self.file_transfer.is_some() && !self.port_forward_socket.is_some() {
|
||||||
let dtype = crate::platform::linux::get_display_server();
|
let dtype = crate::platform::linux::get_display_server();
|
||||||
if dtype != "x11" {
|
if dtype != "x11" {
|
||||||
res.set_error(format!(
|
res.set_error(format!(
|
||||||
|
Loading…
Reference in New Issue
Block a user