-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Trivial
-
Affects Version/s: None
-
Component/s: Agent (G), Proxy (P), Server (S)
-
Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
-
0.125
Code in zbxgetopt.c is logically dead and could be moved under OFF define:
if (ambig && !exact)
{
if (zbx_opterr)
zbx_error("option `%s' is ambiguous", argv[zbx_optind]);
nextchar += strlen (nextchar);
zbx_optind++;
return BAD_OPTION;
}