Fix wrong command when querying server files

This commit is contained in:
Leonard Steppy 2025-02-03 23:14:36 +01:00
parent 744fd0f6c2
commit 3aa326e737

View File

@ -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()