diff --git a/modules/sshtunnel.sh b/modules/sshtunnel.sh index ac732f234..53bf1c753 100644 --- a/modules/sshtunnel.sh +++ b/modules/sshtunnel.sh @@ -142,9 +142,6 @@ function sshtunnel { if [ ! -z "$monitoringport" ] && [[ $line = *$host* ]]; then break fi - if [ ! -z "$monitoringport" ] && [ -z "$line" ]; then - monitoring="" - fi done < <(cat /etc/tunnel) if [ "$monitoringport" -eq "$((portinterval + offset))" ] || [ "$((monitoringport + 1))" -eq "$((portinterval + offset))" ]; then @@ -212,9 +209,6 @@ function sshtunnel { if [ ! -z "$monitoringport" ] && [[ $line = *$host* ]]; then break fi - if [ ! -z "$monitoringport" ] && [ -z "$line" ]; then - monitoring="" - fi done < <(cat /etc/tunnel) if [ "$monitoringport" -eq "$port" ] || [ "$((monitoringport + 1))" -eq "$port" ]; then diff --git a/package.json b/package.json index 46cce39f9..07ec8ef12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.25.24", + "version": "1.25.25", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh",