diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/lib/libreblacklist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libreblacklist b/src/lib/libreblacklist index 8aa33cc..eeb6b7f 100755 --- a/src/lib/libreblacklist +++ b/src/lib/libreblacklist @@ -25,7 +25,7 @@ # Usage: blacklist-normalize <$file # Normalizes the syntax of the blacklist on stdin. blacklist-normalize() { - sed -e 's/^[^:]*$/&::/' -e 's/^[^:]*:[^:]*$/&:/' + sed -e '/^#/d' -e 's/^[^:]*$/&::/' -e 's/^[^:]*:[^:]*$/&:/' } # Usage: blacklist-cat |