mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 18:07:20 +00:00
Fix for database name containing underscore(s).
This commit is contained in:
parent
3b371ba0fe
commit
f00c44d8af
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
db="${0/*_/}"
|
||||
db=$(basename $0 | sed 's/^postgres_queries2_//g')
|
||||
if [ "$db" == "" ];then
|
||||
echo "error/no db" >&2
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue