diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.rs b/src/daemon.rs index 3e3a189..f615333 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -134,7 +134,7 @@ impl DaemonManager { if !cmd.is_empty() { cmd.push(' '); } - cmd.push_str(&String::from_utf8_lossy(arg.as_bytes()).to_string()); + cmd.push_str(String::from_utf8_lossy(arg.as_bytes()).to_string().as_ref()); } let err = read(&stderr).map_err(DaemonError::Stderr)?; let err = String::from_utf8_lossy(&err).into_owned(); |