If the number of CLI collisions is smaller than the expected one,
there's a good chance that Quagga is being built with one or more
daemons disabled. In this case, just print a warning and don't abort
the compilation to allow partial builds.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
# please fix your code before submittal
if ($cli_stomp != $bad_cli_stomps) {
warn "Expected $bad_cli_stomps command line stomps, but got $cli_stomp instead\n";
- exit $cli_stomp;
+ if ($cli_stomp > $bad_cli_stomps) {
+ exit $cli_stomp;
+ }
}
# Check finaly alive $cmd;