This commit is contained in:
Observer KRypt0n_ 2023-06-28 09:08:47 +02:00
commit 23c611a875
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ pub fn disable_telemetry(sender: ComponentSender<App>) {
let output = Command::new("pkexec") let output = Command::new("pkexec")
.arg("sh") .arg("sh")
.arg("-c") .arg("-c")
.arg(format!("echo \"\\n{telemetry}\\n\" >> /etc/hosts")) .arg(format!("echo -e \"\\n{telemetry}\\n\" >> /etc/hosts"))
.spawn(); .spawn();
match output.and_then(|child| child.wait_with_output()) { match output.and_then(|child| child.wait_with_output()) {