aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/process_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_group.c b/src/process_group.c
index cb84deb..f9d8dcd 100644
--- a/src/process_group.c
+++ b/src/process_group.c
@@ -89,7 +89,7 @@ int find_process_by_name(const char *process_name)
}
}
}
- if (close_process_iterator(&it) != 1) exit(1);
+ if (close_process_iterator(&it) != 0) exit(1);
if (found == 1) {
//ok, the process was found
return pid;
Un proyecto texto-plano.xyz