mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Plugin lxc: remove ineffective "sort -u" from function "active_guests"
The output of "lxc-ls" is not line-splitted. Thus all active guests are printed in a single line and "sort -u" (removal of non-unique entries) had no effect.
This commit is contained in:
parent
6413375cdc
commit
276e96c0dd
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ cgrouppath=${cgrouppath:-}
|
|||
|
||||
function active_guests {
|
||||
local guest_name i ok
|
||||
for guest_name in $(lxc-ls | sort -u)
|
||||
for guest_name in $(lxc-ls)
|
||||
do
|
||||
# handle optional exclude list in $1
|
||||
ok=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue