1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 10:23:46 +01:00

Bah, forgot split limit

This commit is contained in:
Tómas Edwardsson 2010-09-06 17:17:37 +00:00
parent 9ca8fc67bb
commit 8e70621aee

View File

@ -2999,7 +2999,7 @@ if (exists $commandline{namefromfile}) {
$l =~ s/#.*$//g; $l =~ s/#.*$//g;
my ($k, $sql_line) = split(/\s*=\s*/, $l); my ($k, $sql_line) = split(/\s*=\s*/, $l, 1);
if ($k eq $commandline{namefromfile}) { if ($k eq $commandline{namefromfile}) {
$sql = $sql_line; $sql = $sql_line;