From 8c718bf5956318cb33c0ea86a922f88752c3870c Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 17 Feb 2014 11:09:45 +0100 Subject: [PATCH] MDEV-5436 mysql_config returns non-zero when running without parameters --- scripts/mysql_config.pl.in | 2 +- scripts/mysql_config.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mysql_config.pl.in b/scripts/mysql_config.pl.in index acf33699b05..b39bf146f58 100644 --- a/scripts/mysql_config.pl.in +++ b/scripts/mysql_config.pl.in @@ -258,7 +258,7 @@ Options: --version [$version] --libmysqld-libs [$embedded_libs] EOF - exit 1; + exit 0; } @ARGV or usage(); diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh index 38cd2b6b910..81b2e96fbd9 100644 --- a/scripts/mysql_config.sh +++ b/scripts/mysql_config.sh @@ -176,7 +176,7 @@ Options: pkglibdir [$pkglibdir] plugindir [$plugindir] EOF - exit 1 + exit 0 } if test $# -le 0; then usage; fi