Removed unnecessary command

This commit is contained in:
cyber-sushi 2024-05-08 18:30:12 +02:00
parent 0b6c39a79c
commit 3f4df618d9

View file

@ -433,7 +433,7 @@ impl EventReader {
Ok(Fork::Child) => {
Command::new("sh")
.arg("-c")
.arg(format!("env runuser {} -c {}", sudo_user.as_str(), command))
.arg(format!("runuser {} -c {}", sudo_user.as_str(), command))
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::null())