Removed unnecessary command
This commit is contained in:
parent
0b6c39a79c
commit
3f4df618d9
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue