openssh-server reports error during shutdown
I get a red asterisk in shutdown log for openssh-server. I attribute it to line 87 in https://git.alpinelinux.org/cgit/aports/tree/main/openssh/sshd.initd\#n87:
if [ "$RC_RUNLEVEL" = "shutdown" ]; then
_sshd_pids=$(pgrep "${command##*/}")
if [ -n "$_sshd_pids" ]; then
ebegin "Shutting down ssh connections"
kill -TERM $_sshd_pids >/dev/null 2>&1
eend 0
fi
fi
To be more precise I think that red asterisk is related to
kill -TERM $_sshd_pids >/dev/null 2>&1
(from redmine: issue id 9261, created on 2018-08-16)