mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+ don't check first argument (connector compat)
This commit is contained in:
parent
e35795fe31
commit
ea38876794
@ -89,7 +89,7 @@ sub GetOptions {
|
|||||||
splice @ARGV, $i, 1;
|
splice @ARGV, $i, 1;
|
||||||
$num_args--;
|
$num_args--;
|
||||||
} else {
|
} else {
|
||||||
warn "argument $ARGV[$i] alone" if ($warn_message == 1);
|
warn "argument $ARGV[$i] alone" if ($warn_message == 1 && $i != 0);
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user