1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-8012: Wrong exit code when asking for help

Make mysql_waitpid return exit code 0 when -V flag is supplied.
This commit is contained in:
Vicențiu Ciorbaru
2016-06-12 22:45:15 +03:00
parent 67b4a6f576
commit 416006a3d8

View File

@@ -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();