diff options
-rw-r--r-- | bin/ncp/TOOLS/nc-scan.sh | 2 | ||||
-rw-r--r-- | changelog.md | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/ncp/TOOLS/nc-scan.sh b/bin/ncp/TOOLS/nc-scan.sh index 219c016e..89355d84 100644 --- a/bin/ncp/TOOLS/nc-scan.sh +++ b/bin/ncp/TOOLS/nc-scan.sh @@ -20,6 +20,8 @@ EOF configure() { + grep -q enabled <(ncc maintenance:mode) && { echo "Cannot run ncp-scan while in maintenance mode"; exit 1; } + local ret=0 [[ "$RECURSIVE" == no ]] && local recursive=--shallow diff --git a/changelog.md b/changelog.md index 83158e24..6cd84b83 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.46.3](https://github.com/nextcloud/nextcloudpi/commit/0de1479) (2022-03-02) nc-trusted-domains: dont return 1 if last domain is empty +[v1.46.4](https://github.com/nextcloud/nextcloudpi/commit/ee27cf1) (2022-03-02) nc-scan: check for maintenance mode enabled + +[v1.46.3 ](https://github.com/nextcloud/nextcloudpi/commit/638cfce) (2022-03-02) nc-trusted-domains: dont return 1 if last domain is empty [v1.46.2 ](https://github.com/nextcloud/nextcloudpi/commit/2ba1478) (2022-03-02) samba: fix usernames with spaces |