summaryrefslogtreecommitdiff
path: root/src/parseconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/parseconf.sh')
-rwxr-xr-xsrc/parseconf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseconf.sh b/src/parseconf.sh
index c5ed801..44089b7 100755
--- a/src/parseconf.sh
+++ b/src/parseconf.sh
@@ -62,7 +62,7 @@ filter () {
[ $# = 0 ] &&
pattern=".*" ||
- pattern=$(sed "s/\*/.*/g"<<< "$@")
+ pattern=$(sed "s/\*/[^:]*/g"<<< "$@")
$print_keys &&
pattern="s/^($pattern:.+)/\1/p" ||