h0tw1r3/pam_shield

Wrong test syntax in "shield-trigger-iptables" script

arnaudf92 opened this issue · 1 comments

Hello,

Just tried pam-shield module, and thank you for it.
I open this issue because there is a wrong test syntax in "shield-trigger-iptables" script at lines 37 and 45.

These tests have to use the = (equal sign) operator, and not == (double equal sign). If not the script fails.
Reference : https://linuxcommand.org/lc3_man_pages/testh.html

Regards.

Fixed by ae51020