aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2009-01-14 19:33:33 +0100
committerBenedikt Böhm <bb@xnull.de>2009-01-14 19:33:33 +0100
commitad1f80d2a9a0937a8c718a226ed95c405e71a2c7 (patch)
treeebf0f9c9e79751473800dea1747b9e27ef2357bf
parentfix typo (diff)
downloadporticron-ad1f80d2a9a0937a8c718a226ed95c405e71a2c7.tar.gz
porticron-ad1f80d2a9a0937a8c718a226ed95c405e71a2c7.tar.bz2
porticron-ad1f80d2a9a0937a8c718a226ed95c405e71a2c7.zip
fix subject line in case of multiple A records
-rwxr-xr-xbin/porticron2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/porticron b/bin/porticron
index a8c8047..302f648 100755
--- a/bin/porticron
+++ b/bin/porticron
@@ -12,7 +12,7 @@ fi
# detect some common variables
SCRIPT_NAME=$(basename $0)
FQDN=$(hostname --fqdn)
-IP=$(dig +short ${FQDN})
+IP=$(dig +short ${FQDN} | tr '\n' ' ')
DATE=$(date -R)
PORTDIR=$(portageq portdir)