From 3aa326e73762e479ade355079f37fdf3bfdb0866 Mon Sep 17 00:00:00 2001 From: Steppy Date: Mon, 3 Feb 2025 23:14:36 +0100 Subject: [PATCH] Fix wrong command when querying server files --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a425d54..73e99f8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -295,7 +295,7 @@ fn main() -> Result<(), String> { actions: { let present_file_names: Vec = 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()