diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2012-10-12 09:17:06 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2012-10-12 09:17:06 +1100 |
commit | 5857df84f44e1290fde7320649caab41689d775c (patch) | |
tree | c554f01a7dac326910489e0e04c186934180817b /script | |
parent | 9ae51d5ff6a9f56fd1bd4ba4bdd84bfd43ac6d95 (diff) |
Revert "Use modification time of log file rather than filename"
This reverts commit ea5df5680d44d9650d529b5f015188e2a3f9de8d.
Diffstat (limited to 'script')
-rwxr-xr-x | script/load-mail-server-logs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/load-mail-server-logs b/script/load-mail-server-logs index 234aecd3b..9ff7a1401 100755 --- a/script/load-mail-server-logs +++ b/script/load-mail-server-logs @@ -20,7 +20,7 @@ fi # Load in last three days worth of logs (if they've been modified) cd "$LOC" -LATEST=$( ls -rt $OPTION_MTA_LOG_PATH 2>/dev/null | tail -3 ) +LATEST=$( ls $OPTION_MTA_LOG_PATH 2>/dev/null | sort | tail -3 ) for X in $LATEST do bundle exec ./runner 'MailServerLog.load_file("'$X'")' |