mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Update plugins/teamspeak/ts3v2_
prevent error "Use of uninitialized value $ARGV[0] in string eq"
This commit is contained in:
parent
177cb87640
commit
c8d89f42f8
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ if ($0 =~ /$filename(\w+)$/i) {
|
|||
|
||||
#check for overview, transfer or single server mode
|
||||
my $mode = "";
|
||||
if ($argument eq "overview" or $argument eq "transfer" or $ARGV[0] eq "suggest" or $ARGV[0] eq "autoconf") {
|
||||
if ($argument eq "overview" or $argument eq "transfer" or (defined $ARGV[0] and ($ARGV[0] eq "suggest" or $ARGV[0] eq "autoconf"))) {
|
||||
if ($argument eq "overview") {
|
||||
$mode = "o";
|
||||
} elsif($argument eq "transfer") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue