mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2025-07-27 00:05:40 +02:00
fix reducing noise on connectivity testing
This commit is contained in:
@@ -50,7 +50,8 @@ if [ -z $KOJI_BUILD_FQDN ] ; then
|
||||
KOJI_BUILD_FQDN=$KOJI_HUB_FQDN
|
||||
fi
|
||||
|
||||
if [ ! nc -z $KOJI_BUILD_FQDN 22 2>/dev/null ] ; then
|
||||
RESP=$(nc -z $KOJI_BUILD_FQDN 22 2>&1 | grep succeeded)
|
||||
if [[ -z $RESP ]] ; then
|
||||
echo "I cannot connect to $KOJI_BUILD_FQDN! Is it online? "
|
||||
echo "Options:"
|
||||
echo "- turn on the server"
|
||||
|
Reference in New Issue
Block a user