From 4e7938650f55bdf8b656d647b5aeed6c0c04e9ee Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sat, 13 Jun 2020 08:56:08 -0600 Subject: [PATCH] ncp-web: fix port checking Signed-off-by: nachoparker --- bin/ncp-diag | 2 +- changelog.md | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/ncp-diag b/bin/ncp-diag index fd94f7023..ce572daa9 100644 --- a/bin/ncp-diag +++ b/bin/ncp-diag @@ -65,7 +65,7 @@ echo "internet check|$( ping -W 2 -w 1 -q github.com &>/dev/null && echo ok || e function is_port_open() { PORT=$1 - wget -T2 -t1 -q https://portchecker.co/check --post-data "port=$PORT" -O - \ + wget -T2 -t1 -q https://portchecker.co --post-data "port=$PORT" -O - \ | grep -q 'open' && { echo "open"; return 1; } echo "closed" } diff --git a/changelog.md b/changelog.md index 838a7a291..f95b24d8c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ -[v1.26.0](https://github.com/nextcloud/nextcloudpi/commit/d2a0136) (2020-06-11) upgrade to NC18.0.5 +[v1.26.1](https://github.com/nextcloud/nextcloudpi/commit/8e36668) (2020-06-13) ncp-web: fix port checking -[v1.25.0](https://github.com/nextcloud/nextcloudpi/commit/ed3619f) (2020-04-24) upgrade to NC18.0.4 +[v1.26.0](https://github.com/nextcloud/nextcloudpi/commit/aedd8f0) (2020-06-11) upgrade to NC18.0.5 + +[v1.25.0 ](https://github.com/nextcloud/nextcloudpi/commit/ed3619f) (2020-04-24) upgrade to NC18.0.4 [v1.24.3 ](https://github.com/nextcloud/nextcloudpi/commit/1c45e0d) (2020-04-18) ncp-web: cache backup info