summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rwxr-xr-xsrc/lib/libreblacklist2
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