Commit c91124e2 authored by unknown's avatar unknown

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

parent 6a8f27fa
...@@ -1560,6 +1560,11 @@ sub check_debug_support () { ...@@ -1560,6 +1560,11 @@ sub check_debug_support () {
{ {
# mtr_report("Binaries are not debug compiled"); # mtr_report("Binaries are not debug compiled");
$debug_compiled_binaries= 0; $debug_compiled_binaries= 0;
if ( $opt_debug )
{
mtr_error("Can't use --debug, binaries does not support it");
}
return; return;
} }
mtr_report("Binaries are debug compiled"); mtr_report("Binaries are debug compiled");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment