diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-02 17:33:42 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-02 17:33:42 +0100 |
commit | 10141ed04af966ee280dcea1d733e0b036127afc (patch) | |
tree | 21dd6e4f4ece87288424fce7fdb866378c0edc5b /lib/mauve/sender.rb | |
parent | 25b32914b72a5f709eca773f3511cc89c2e710c2 (diff) | |
parent | f07c5705d4ec82f4ba851409d4a92a9f66820df8 (diff) |
merge
Diffstat (limited to 'lib/mauve/sender.rb')
-rw-r--r-- | lib/mauve/sender.rb | 2 |
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" |