git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct exiwhat mishandling log_selector = +pid. Fixes: #688
[exim.git]
/
src
/
src
/
exiwhat.src
diff --git
a/src/src/exiwhat.src
b/src/src/exiwhat.src
index c5bb312bb61bf148b9aec409eb047047887207c4..3af128cf49c54a6cd391b6486644133aeb4d88f2 100644
(file)
--- a/
src/src/exiwhat.src
+++ b/
src/src/exiwhat.src
@@
-1,5
+1,5
@@
#! /bin/sh
#! /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.
# 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" ;
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
# End of exiwhat