refactor(posix): replace '==' with '=' (shellcheck SC3014)

This commit is contained in:
AJ ONeal
2022-08-21 02:08:39 +00:00
parent fdeefd7e75
commit d65eb457f9
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ main() {
# TODO ensure that ssh-password login is off
my_pass="$(grep 'PasswordAuthentication yes' /etc/ssh/sshd_config)"
my_pam=""
if [[ "Darwin" == "$(uname -s)" ]]; then
if [[ "Darwin" = "$(uname -s)" ]]; then
# Turn off PAM for macOS or it will allow password login
my_pam="$(grep 'UsePAM yes' /etc/ssh/sshd_config)"
fi