Skip to content

Commit

Permalink
qzeleza#222 оформление кода
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGrF13 authored and AltGrF13 committed Nov 24, 2024
1 parent 0272e7a commit a8f3c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opt/bin/main/ipset_domain
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ while read -r line || [ -n "${line}" ]; do
# пропускаем строки c минусами - это рекламные сайты
# пропускаем пустые строки
# пропускаем строки с комментариями
[ "${line::1}" = "-" ] || [ -z "${line}" ] || [ "${line:0:1}" = "#" ] && continue
[ "${line::1}" = '-' ] || [ -z "${line}" ] || [ "${line:0:1}" = '#' ] && continue

# удаляем из строки комментарии - все что встречается после символа # и сам символ
# удаляем *
Expand Down

0 comments on commit a8f3c61

Please sign in to comment.