We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48f13b commit 0419432Copy full SHA for 0419432
ansible/roles/munin-node/templates/plugins/lovelace/dovecot_maildirs.sh.j2
@@ -8,7 +8,7 @@ print_maildir_config() {
8
| tail -n +2 \
9
| awk -F / '{
10
sanitized = $2
11
- sub(/\./, "_", sanitized)
+ gsub(/\./, "_", sanitized)
12
print sanitized ".draw AREASTACK"
13
print sanitized ".label " $2
14
}'
@@ -58,7 +58,9 @@ find . \
58
}
59
END {
60
for (user in total) {
61
- print user ".value " total[user]
+ sanitized = user
62
63
+ print sanitized ".value " total[user]
64
65
66
'
0 commit comments