mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-25 08:48:11 -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
|
// XXX: DeviceConnection::run_command does not expose the exit code of the ran command. It
|
||||||
// probably should, or a utility for it should exist?
|
// probably should, or a utility for it should exist?
|
||||||
let mv_output = conn
|
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?;
|
.await?;
|
||||||
if mv_output.contains("MV_OK") {
|
if mv_output.contains("MV_OK") {
|
||||||
println!("ok");
|
println!("ok");
|
||||||
|
|||||||
Reference in New Issue
Block a user