MDEV-5436 mysql_config returns non-zero when running without parameters

This commit is contained in:
Sergei Golubchik 2014-02-17 11:09:45 +01:00
parent 5d6e756cd1
commit 8c718bf595
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ Options:
--version [$version] --version [$version]
--libmysqld-libs [$embedded_libs] --libmysqld-libs [$embedded_libs]
EOF EOF
exit 1; exit 0;
} }
@ARGV or usage(); @ARGV or usage();

View File

@ -176,7 +176,7 @@ Options:
pkglibdir [$pkglibdir] pkglibdir [$pkglibdir]
plugindir [$plugindir] plugindir [$plugindir]
EOF EOF
exit 1 exit 0
} }
if test $# -le 0; then usage; fi if test $# -le 0; then usage; fi