sshd: Fix env error check
sshd: Fix env error check

Co-Authored-By: Chris Miller <0f123059c7ee89e17990891f6647e09696c9b59b@users.noreply.github.com>
shazow/ssh-chat,shazow/ssh-chat,voldyman/ssh-chat,voldyman/ssh-chat