Commit 416006a3 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

MDEV-8012: Wrong exit code when asking for help

Make mysql_waitpid return exit code 0 when -V flag is supplied.
parent 67b4a6f5
......@@ -50,7 +50,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
switch(optid) {
case 'V':
printf("%s version %s by Jani Tolonen\n", progname, VER);
exit(-1);
exit(0);
case 'I':
case '?':
usage();
......
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