summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-01 20:06:24 +0200
committerErich Eckner <git@eckner.net>2018-09-01 20:06:24 +0200
commite5347d79e0ab9062596fe2f407b7da75cf9bcd1f (patch)
treee3b26506aee76c00367e222558a97f7c5b3c510b /lib
parentc2fb97d586e8a2f4383823a36361207285d94d4d (diff)
downloadbuilder-e5347d79e0ab9062596fe2f407b7da75cf9bcd1f.tar.xz
lib/mysql-functions: fix style: "exit" from subshell, not "return" from it
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index c0f7790..5844d5e 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1199,7 +1199,7 @@ mysql_sort_versions() {
mysql_run_query | \
grep -qxF '0'; then
# nothing to do
- return 0
+ exit 0
fi
{
printf 'SELECT '