summaryrefslogtreecommitdiffstats
path: root/src/app/process_killer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/process_killer.rs')
-rw-r--r--src/app/process_killer.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/app/process_killer.rs b/src/app/process_killer.rs
index d0f374ac..85b5b402 100644
--- a/src/app/process_killer.rs
+++ b/src/app/process_killer.rs
@@ -42,11 +42,10 @@ pub fn kill_process_given_pid(pid: u32) -> crate::utils::error::Result<()> {
process.kill()?;
}
} else {
- return Err(BottomError::GenericError {
- message:
- "Sorry, support operating systems outside the main three are not implemented yet!"
- .to_string(),
- });
+ return Err(BottomError::GenericError(
+ "Sorry, support operating systems outside the main three are not implemented yet!"
+ .to_string(),
+ ));
}
Ok(())