mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fix multiple shellcheck issues
This commit is contained in:
parent
5b1099fb83
commit
7fed3b9765
18 changed files with 59 additions and 50 deletions
|
@ -22,7 +22,7 @@
|
|||
#%# capabilities=autoconf suggest
|
||||
|
||||
EJABBERDCTL=${ejabberdctl:-$(which ejabberdctl)}
|
||||
SCRIPT_NAME=$(basename $0)
|
||||
SCRIPT_NAME=$(basename "$0")
|
||||
STATS_TYPE="${SCRIPT_NAME/ejabberd_stats_/}"
|
||||
|
||||
function ejabberd_stats_connected_users() {
|
||||
|
@ -81,4 +81,4 @@ SUGGESTIONS
|
|||
;;
|
||||
esac
|
||||
|
||||
ejabberd_stats_${STATS_TYPE} $1
|
||||
"ejabberd_stats_${STATS_TYPE}" "$1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue