summaryrefslogtreecommitdiff
path: root/src/daemon.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.rs')
-rw-r--r--src/daemon.rs2
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();