diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_snmp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index c4ddd0ed..aefda3d2 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -1179,10 +1179,7 @@ multiply (char *str) | |||
1179 | 1179 | ||
1180 | val = strtod (str, &endptr); | 1180 | val = strtod (str, &endptr); |
1181 | if ((val == 0.0) && (endptr == str)) { | 1181 | if ((val == 0.0) && (endptr == str)) { |
1182 | if(multiplier != 1) { | 1182 | die(STATE_UNKNOWN, _("multiplier set (%.1f), but input is not a number: %s"), multiplier, str); |
1183 | die(STATE_UNKNOWN, _("multiplier set (%.1f), but input is not a number: %s"), multiplier, str); | ||
1184 | } | ||
1185 | return str; | ||
1186 | } | 1183 | } |
1187 | 1184 | ||
1188 | if(verbose>2) | 1185 | if(verbose>2) |