Skip to content

Commit

Permalink
move use back
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrolich committed Apr 12, 2024
1 parent bf9a86d commit c6addef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lock.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::fs;
use std::fs::File;
use std::io::prelude::*;
use std::path::Path;
use std::process;
use sysinfo::{PidExt, System, SystemExt};
Expand Down Expand Up @@ -42,7 +43,6 @@ fn exists(to_check_pid: u32) -> bool {
}

fn create(lockfile_location: &Path, pid: u32) -> Lock {
use std::io::prelude::*;
// Create /lib if not exists
match lockfile_location
.parent()
Expand Down

0 comments on commit c6addef

Please sign in to comment.