Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix killing of child process of clevisloop
The usage of `ps -l` is fragile and does not always return the expected set of columns. It differs even between several BusyBox versions and operating systems. Use `ps -o pid,ppid` to get the expected set of columns instead. Also kill parent first before its children to prevent spawning another command from clevisloop itself. Fixes #448 Signed-off-by: Oldřich Jedlička <[email protected]>
- Loading branch information