mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-28 00:20:00 -07:00
add one missing single quote
This commit is contained in:
committed by
Will Greenberg
parent
90f49f73c8
commit
d9facdf6cb
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user