Skip to content

Commit

Permalink
Rework jinja condition in bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
teacup-on-rockingchair committed Sep 26, 2024
1 parent 1eac5b0 commit 8237441
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# complexity = low
# disruption = medium

{{% if 'sle' or 'slmicro' in product %}}
{{% if 'sle' in product or 'slmicro' in product %}}
PAM_PATH="/etc/pam.d/"
NULLOK_FILES=$(grep -rl ".*pam_unix\\.so.*nullok.*" ${PAM_PATH})
for FILE in ${NULLOK_FILES}; do
Expand Down

0 comments on commit 8237441

Please sign in to comment.