Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/mysql-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-14 14:10:04 +0100
committerErich Eckner <git@eckner.net>2018-02-14 14:10:04 +0100
commit437fa0fc93e4c59b7d677a4d954dbd4656448b15 (patch)
tree07531b878a0a859b4aa887d18393c9644c2d1f5d /bin/mysql-functions
parent85b734363309052f5c5392751df574130c4d93a5 (diff)
bin/mysql-functions: "exit 2" rather than "return 2" on syntactical error
Diffstat (limited to 'bin/mysql-functions')
-rwxr-xr-xbin/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions
index d1a8c2a..2f0b282 100755
--- a/bin/mysql-functions
+++ b/bin/mysql-functions
@@ -756,7 +756,7 @@ mysql_cleanup() {
else
>&2 echo 'Unknown parameter'
>&2 echo 'Call "mysql_clean_up" or "mysql_clean_up dry".'
- return 1
+ exit 2
fi
{
# remove dependencies w/o binary_package or install_target