• Shunpoco's avatar
    MDEV-27448 MTR returns success (zero) upon invalid option · 767d8d83
    Shunpoco authored
    I change from `exit;` to `exit(1);` on a function `usage()`.
    When we try to run mtr with a wrong option, a function `usage()` is called with the wrong option as its argument. In this case, because the function call `exit` in a first if statement, we get exit status 0.
    767d8d83
mysql-test-run.pl 175 KB