Print error if using --debug and binaries does not support it

This commit is contained in:
unknown 2006-06-14 11:59:04 +02:00
parent 6a8f27fae7
commit c91124e267

View file

@ -1560,6 +1560,11 @@ sub check_debug_support () {
{
# mtr_report("Binaries are not debug compiled");
$debug_compiled_binaries= 0;
if ( $opt_debug )
{
mtr_error("Can't use --debug, binaries does not support it");
}
return;
}
mtr_report("Binaries are debug compiled");