diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-06-12 22:45:15 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-06-12 22:46:53 +0300 |
commit | 416006a3d8164684a1bfffa2e20a1f9894baf372 (patch) | |
tree | 3d62a0ee3b235e528a033e7fd82f8094088f609b /extra | |
parent | 67b4a6f576db102d652b401c3d0150556826f641 (diff) | |
download | mariadb-git-416006a3d8164684a1bfffa2e20a1f9894baf372.tar.gz |
MDEV-8012: Wrong exit code when asking for help
Make mysql_waitpid return exit code 0 when -V flag is supplied.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mysql_waitpid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mysql_waitpid.c b/extra/mysql_waitpid.c index 7777da25aa1..aa004e57308 100644 --- a/extra/mysql_waitpid.c +++ b/extra/mysql_waitpid.c @@ -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(); |