mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 17:20:05 -04:00
Fix for -s string matching (#756567, Tony Missana)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1006 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
c0d5ac8efc
commit
a7b1d2b060
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ main (int argc, char **argv)
|
|||
|
||||
/* Process this block for string matching */
|
||||
else if (eval_method[i] & CRIT_STRING) {
|
||||
if (strcmp (response, string_value))
|
||||
if (strcmp (show, string_value))
|
||||
iresult = STATE_CRITICAL;
|
||||
else
|
||||
iresult = STATE_OK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue