Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nextcloudpi-config')
-rwxr-xr-xbin/nextcloudpi-config7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/nextcloudpi-config b/bin/nextcloudpi-config
index 477724c1..797a3361 100755
--- a/bin/nextcloudpi-config
+++ b/bin/nextcloudpi-config
@@ -13,10 +13,10 @@
#
source /usr/local/etc/library.sh
+{
function nextcloud-config()
{
- {
local DIALOG_OK=0
local VERFILE=/var/run/.ncp-latest-version
local BACKTITLE="NextCloudPi configuration ver. "
@@ -60,8 +60,6 @@ function nextcloud-config()
info_script $script.sh || continue;
configure_script $script.sh && { echo "Done. Press any key..."; read; }
done
- return
- } # force to read the whole thing into memory, as its contents might change in update.sh
}
if [ $(id -u) -ne 0 ]; then
@@ -71,6 +69,9 @@ fi
nextcloud-config
+exit $?
+} # force to read the whole thing into memory, as its contents might change in update.sh
+
# License
#
# This script is free software; you can redistribute it and/or modify it