Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i find -e option does not work on my ubuntu,and i think i find the reason #30

Open
RCmerci opened this issue Feb 9, 2014 · 0 comments

Comments

@RCmerci
Copy link

RCmerci commented Feb 9, 2014

in process_iterator_linux.c function: int close_process_iterator(struct process_iterator_)
this function's return value 0 when sucessful,and 1 when it error.then,
in process_group.c function:int find_process_by_name(const char_)
it has:
if(close_process_iterator(&it) != 1)exit(1);<-------------------------i think it should be:
if(close_process_iterator(&it) != 0)exit(1);
and after i fix it,the program works well!!~
so ,check it out..and thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant