summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-02-17 11:09:45 +0100
committerSergei Golubchik <sergii@pisem.net>2014-02-17 11:09:45 +0100
commit8c718bf5956318cb33c0ea86a922f88752c3870c (patch)
tree06c4e41a7176896edd92bae7c969ed067d86a243
parent5d6e756cd118f21bc6ca137bacf418fe7ea6897f (diff)
downloadmariadb-git-8c718bf5956318cb33c0ea86a922f88752c3870c.tar.gz
MDEV-5436 mysql_config returns non-zero when running without parameters
-rw-r--r--scripts/mysql_config.pl.in2
-rw-r--r--scripts/mysql_config.sh2
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