From 766766a1139fee0a65ad76908182a5134bd6208d Mon Sep 17 00:00:00 2001
From: Tim Repke <timmothey@gmx.de>
Date: Wed, 21 Oct 2015 21:49:33 +0200
Subject: [PATCH] added exit 0s

---
 registration-system/other/setup.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/registration-system/other/setup.sh b/registration-system/other/setup.sh
index 4159652..2b0abe3 100755
--- a/registration-system/other/setup.sh
+++ b/registration-system/other/setup.sh
@@ -58,6 +58,8 @@ function install {
     echo "[7/7] select init dump or kill script to do it manually"
     read -p "which dump do you want (latest recommended): " dump
     mysql -h $dbhost -u $dbuser -p $dbpass $dbname < ${inits[$dump]}
+
+    exit 0
 }
 
 function update {
@@ -132,6 +134,8 @@ function update {
     mv backups/config_current_fahrt_id ../
     mv backups/config.local.php ../
     mv backups/users.txt ../passwd/users.txt
+
+    exit 0
 }
 
 function printHelp {
-- 
GitLab