mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
fix: always check turbostat exists and is executable
This commit is contained in:
parent
0016cfdfa6
commit
20f9d62fde
1 changed files with 4 additions and 0 deletions
|
@ -195,6 +195,10 @@ case $1 in
|
|||
fi
|
||||
;;
|
||||
*)
|
||||
if ! turbostat_exists; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
GRAPH_TYPE=${0##*turbostat_}
|
||||
|
||||
for TYPE in "${SUPPORTED_GRAPH_TYPES[@]}"; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue