diff options
author | nachoparker <nacho@ownyourbits.com> | 2021-09-20 03:45:05 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2021-09-20 18:59:35 +0300 |
commit | cb184d2bdeb7044ee465512bc7dd8d59cf5dd7a8 (patch) | |
tree | 74b01a514aae7dc2bb4a815e92d42759ddf55179 | |
parent | 311cd2b76985718ea9e9b0d02fb0360b7b857744 (diff) |
ncp-update-nc: dont keep notifying when there is nothing to upgradev1.39.5
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rwxr-xr-x | bin/ncp-update-nc | 2 |
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 |