diff --git a/host-by-telegram.sh b/host-by-telegram.sh index bf5da75..8145e18 100755 --- a/host-by-telegram.sh +++ b/host-by-telegram.sh @@ -132,14 +132,14 @@ fi NOTIFICATION_MESSAGE=$(cat << EOF $HOSTSTATEICON$HOSTDISPLAYNAME$HOSTALIAS2 is $HOSTSTATE! ${age}Info $HOSTOUTPUT -IPv4 $HOSTADDRESS +IPv4 $HOSTADDRESS EOF ) ## Is this host IPv6 capable? if [ -n "$HOSTADDRESS6" ] ; then NOTIFICATION_MESSAGE="$NOTIFICATION_MESSAGE -IPv6 $HOSTADDRESS6" +IPv6 $HOSTADDRESS6" fi ## Are there any comments? Put them into the message! if [ -n "$NOTIFICATIONCOMMENT" ] ; then