Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 10, 2024
1 parent 8686a3d commit 8d0c04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/supervisor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub fn start_if_not_running() -> Result<()> {
let sf = StateFile::get();
if let Some(d) = sf.daemons.get("pitchfork") {
if let Some(pid) = d.pid {
if let Some(proc) = Procs::new().get_process(pid) {
if Procs::new().get_process(pid).is_some() {
return Ok(());
}
}
Expand Down

0 comments on commit 8d0c04b

Please sign in to comment.