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:
-rwxr-xr-xbin/ncp-update-nc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc
index 1916c9dd..df9b0591 100755
--- a/bin/ncp-update-nc
+++ b/bin/ncp-update-nc
@@ -63,7 +63,7 @@ fi
echo "Current Nextcloud version $CURRENT"
echo "Available Nextcloud version $VER"
-[[ "$NEED_UPDATE" == "true" ]] || { echo "Nothing to update"; exit; }
+[[ "$NEED_UPDATE" == "true" ]] || { echo "Nothing to update"; exit 1; } # we want `exit 1` so the autoupdate doesn't notify success in this case
# make sure that cron.php is not running and there are no pending jobs
# https://github.com/nextcloud/server/issues/10949