summaryrefslogtreecommitdiff
path: root/user/libnih
diff options
context:
space:
mode:
authorJohn Ogness <adelielinux@ogness.net>2021-06-29 21:15:38 +0200
committerJohn Ogness <adelielinux@ogness.net>2021-06-29 21:44:20 +0200
commit2c8c34fb270ee6c87aae21b94abd11d42eb9d22f (patch)
treeee728d1b463c9f664976ffecb52607629f41f4e7 /user/libnih
parent607ac46b45782d21cd19ab42993800bfeba3620e (diff)
downloadpackages-2c8c34fb270ee6c87aae21b94abd11d42eb9d22f.tar.gz
packages-2c8c34fb270ee6c87aae21b94abd11d42eb9d22f.tar.bz2
packages-2c8c34fb270ee6c87aae21b94abd11d42eb9d22f.tar.xz
packages-2c8c34fb270ee6c87aae21b94abd11d42eb9d22f.zip
system/openssh: ignore initscript process on shutdown
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. Signed-off-by: John Ogness <adelielinux@ogness.net>
Diffstat (limited to 'user/libnih')
0 files changed, 0 insertions, 0 deletions