diff options
author | Nigel Metheringham <nigel@exim.org> | 2009-10-19 11:47:43 +0000 |
---|---|---|
committer | Nigel Metheringham <nigel@exim.org> | 2009-10-19 11:47:43 +0000 |
commit | b2335c0b21d064f660e593112f8c349e48414c9f (patch) | |
tree | 78949fd37517096543979d5208716ee99d9cacae /src | |
parent | d5c13d66b826313581cf666b96a280fe450357ef (diff) |
Correct exiwhat mishandling log_selector = +pid. Fixes: #688
Diffstat (limited to 'src')
-rw-r--r-- | src/src/exiwhat.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/exiwhat.src b/src/src/exiwhat.src index c5bb312bb..3af128cf4 100644 --- a/src/src/exiwhat.src +++ b/src/src/exiwhat.src @@ -1,5 +1,5 @@ #! /bin/sh -# $Cambridge: exim/src/src/exiwhat.src,v 1.3 2009/01/02 16:58:05 nm4 Exp $ +# $Cambridge: exim/src/src/exiwhat.src,v 1.4 2009/10/19 11:47:44 nm4 Exp $ # Copyright (c) 2003 University of Cambridge. # See the file NOTICE for conditions of use and distribution. @@ -130,7 +130,7 @@ fi sleep 1 if [ ! -s ${log} ] ; then echo "No exim process data" ; - else sed 's/^[0-9-]* [0-9:]* \([+-][0-9]* \)*//' ${log} | sort -n | uniq ; fi + else sed 's/^[0-9-]* [0-9:]* \([+-][0-9]* \)*\(\[[0-9]\+\] \)\?//' ${log} | sort -n | uniq ; fi # End of exiwhat |