Fix wrong command when querying server files
This commit is contained in:
parent
744fd0f6c2
commit
3aa326e737
@ -295,7 +295,7 @@ fn main() -> Result<(), String> {
|
||||
actions: {
|
||||
let present_file_names: Vec<OsString> = match &server.address {
|
||||
ServerAddress::Ssh { ssh_address } => osstring_from_ssh_output(
|
||||
ShellCmd::new("ls")
|
||||
ShellCmd::new("ssh")
|
||||
.arg(ssh_address)
|
||||
.arg(osf!("ls ") + &working_directory)
|
||||
.collect_output()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user