diff options
author | Erich Eckner <git@eckner.net> | 2018-02-14 14:10:04 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-14 14:10:04 +0100 |
commit | 437fa0fc93e4c59b7d677a4d954dbd4656448b15 (patch) | |
tree | 07531b878a0a859b4aa887d18393c9644c2d1f5d /bin | |
parent | 85b734363309052f5c5392751df574130c4d93a5 (diff) | |
download | builder-437fa0fc93e4c59b7d677a4d954dbd4656448b15.tar.xz |
bin/mysql-functions: "exit 2" rather than "return 2" on syntactical error
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mysql-functions | 2 |
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 |