Skip to content

system/openssh: ignore initscript process on shutdown (v3)

John Ogness requested to merge jogness/packages:bugfix-sshd-v3 into master

On shutdown, the initscript will kill any processes that match sshd. However, since the initscript itself is called sshd, it ends up seeing/killing itself! Avoid this by only killing processes where /proc/$PID/exe is pointing to $SSHD_BINARY.

Merge request reports