Update rc.sshd

This commit is contained in:
SimonFair
2024-10-10 21:54:16 +01:00
parent 01c6f64b52
commit 57ec7909e5

View File

@@ -24,7 +24,7 @@ SSH_ETC="/etc/ssh"
sshd_running(){
sleep 0.1
# get all pids from sshd
[[ $(pgrep -ns $$ -cf $SSHD) -gt 0 ]]
[[ $(pgrep --ns $$ -cf $SSHD) -gt 0 ]]
}
sshd_build(){