opsengine/cpulimit

"Process found but you aren't allowed to control it" exits with code 0

nandilugio opened this issue · 0 comments

The error "Process found but you aren't allowed to control it" should exit with an error code.

To reproduce, just call it using -p with some PID not belonging to you.

My idea is to be able to wait for a process by iteratively executing cpulimit until it returns true. This asumes any case when the process is not found, the return code will be different than 0. Do you find that assumption reasonable?

Thanks in advance!