X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=bin%2Fmailshears;h=06347fb9eafced5b8a3f5d16f331140d444ecc8a;hp=afc430193409c450d0c95ad90f8cac7cf28ff312;hb=1511b1d4bec6c53bcdb74fe60ee3b0fc4551b104;hpb=e57fc01658ff9fe071260c003b097f008da52662 diff --git a/bin/mailshears b/bin/mailshears index afc4301..06347fb 100755 --- a/bin/mailshears +++ b/bin/mailshears @@ -93,7 +93,6 @@ acct_difference = fs_accts - db_accts # Don't output any unnecessary junk. Cron might mail it to someone. if dom_difference.size > 0 or acct_difference.size > 0 - # The header that we output before the list of accounts. # Just the path of this script, and the current time. header = "#{$0}, " @@ -109,7 +108,14 @@ if dom_difference.size > 0 or acct_difference.size > 0 puts header puts '-' * header.size # Underline the header. - puts dom_difference - puts acct_difference + + dom_difference.each do |domain| + puts domain + " (#{dms.get_domain_path(domain)})" + end + + acct_difference.each do |account| + puts account + " (#{dms.get_account_path(account)})" + end + puts "" end