aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-02 16:54:13 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-02 16:54:13 +0100
commit048f420510370b6276db27da5c4f55620badf6b4 (patch)
treef47ba83136adc904293ba7c8151d93595e8acea9 /lib
parent44716daaf1eb940b33b0459941f29881ae09aa3a (diff)
More interface tweaks.
--HG-- rename : mauveserver.conf => etc/mauveserver.conf rename : test/ts_mauve.rb => test/test_mauve.rb
Diffstat (limited to 'lib')
-rw-r--r--lib/mauve/sender.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/sender.rb b/lib/mauve/sender.rb
index 8194180..ef06d0f 100644
--- a/lib/mauve/sender.rb
+++ b/lib/mauve/sender.rb
@@ -108,7 +108,7 @@ module Mauve
#
# Must have a source, so default to hostname if user doesn't care
- update.source ||= `hostname -f`.chomp
+ update.source ||= Socket.gethostname
#
# Make sure all alerts default to "-r now"