Browse Source

added parameter handling for check_ssh_nc

/\/ \-/ ❭❬ 5 years ago
parent
commit
5bc532c96a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      check.sh

+ 1
- 1
check.sh View File

@@ -507,7 +507,7 @@ check_ssh_nc() {
507 507
 		port=22
508 508
 	fi
509 509
 
510
-	rep="$(nc -q1 z3.zered.net $port </dev/null)"
510
+	rep="$(nc -q1 $host $port </dev/null)"
511 511
 	res=$?
512 512
 	if [ "$res" -ne "0" ]
513 513
 	then

Loading…
Cancel
Save