Skip to content

Commit f2c20b2

Browse files
authored
Apply suggestions from code review
1 parent d5ee600 commit f2c20b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/opt/modsecurity/configure-rules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ set_value() {
5757
ed -s "${setup_conf_path}" <<EOF 2 > /dev/null
5858
/id:${rule}/
5959
-
60-
.,/\"$/ s/#//
60+
.,/^#\?$/ s/#//
6161
wq
6262
EOF
6363
fi

0 commit comments

Comments
 (0)