Skip to content

Commit

Permalink
chore: Cleanup compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Sep 3, 2024
1 parent b5308af commit 9c2a76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rust/driver/src/child_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl ChildPluginProcess {
process.kill();
// revert windows specific logic once https://github.com/GuillaumeGomez/sysinfo/pull/1341/files is merged/released
#[cfg(windows)]
let _ = Command::new("taskkill.exe").arg("/PID").arg(self.child_pid.to_string()).arg("/F").arg("/T").output();
let _ = std::process::Command::new("taskkill.exe").arg("/PID").arg(self.child_pid.to_string()).arg("/F").arg("/T").output();
} else {
warn!("Child process with PID {} was not found", self.child_pid);
}
Expand Down

0 comments on commit 9c2a76d

Please sign in to comment.