add one missing single quote

This commit is contained in:
Markus Unterwaditzer
2026-02-23 14:51:16 +01:00
committed by Will Greenberg
parent 90f49f73c8
commit d9facdf6cb

View File

@@ -133,7 +133,7 @@ pub async fn setup_data_directory<C: DeviceConnection>(conn: &mut C, data_dir: &
// XXX: DeviceConnection::run_command does not expose the exit code of the ran command. It
// probably should, or a utility for it should exist?
let mv_output = conn
.run_command(&format!("mv {old_source} '{data_dir}' && echo MV_OK"))
.run_command(&format!("mv '{old_source}' '{data_dir}' && echo MV_OK"))
.await?;
if mv_output.contains("MV_OK") {
println!("ok");