INN commit: branches/2.5 (CONTRIBUTORS scripts/scanlogs.in)
INN Commit
rra at isc.org
Sun Nov 15 09:30:08 UTC 2009
Date: Sunday, November 15, 2009 @ 01:30:08
Author: iulius
Revision: 8806
This patch cleans up a little cruft (${T}, ${PROBS}) left in scanlogs
since its rewrite by Gary Palmer in September 1997.
Thanks to Florian Schlichting for this patch.
Modified:
branches/2.5/CONTRIBUTORS
branches/2.5/scripts/scanlogs.in
---------------------+
CONTRIBUTORS | 2 +-
scripts/scanlogs.in | 7 +------
2 files changed, 2 insertions(+), 7 deletions(-)
Modified: CONTRIBUTORS
===================================================================
--- CONTRIBUTORS 2009-11-15 09:29:59 UTC (rev 8805)
+++ CONTRIBUTORS 2009-11-15 09:30:08 UTC (rev 8806)
@@ -271,4 +271,4 @@
David Hlacik, Andreas Mattheiss, James Ralston, Wim Lewis, Johan van Selst,
Wolfgang M. Weyand, Berend Reitsma, William Kronert, Petr Novopashenniy,
Steve Crook, John F. Morse, Tim Woodall, Jonathan Kamens, Kamil Jonca,
-S.P. Zeidler, Nix
+S.P. Zeidler, Nix, Florian Schlichting
Modified: scripts/scanlogs.in
===================================================================
--- scripts/scanlogs.in 2009-11-15 09:29:59 UTC (rev 8805)
+++ scripts/scanlogs.in 2009-11-15 09:30:08 UTC (rev 8806)
@@ -92,11 +92,6 @@
test ! -f ${F} && touch ${F}
done
-## Temporary files.
-T=${TMPDIR}/scan$$
-PROBS=${TMPDIR}/scanlog$$
-trap "rm -f ${T} ${PROBS}; exit 0" 0 1 2 3 15
-
## Rotate the logs?
if ${ROTATE} ; then
## Lock out others.
@@ -104,7 +99,7 @@
echo "$0: Locked by `cat ${LOCK}`"
exit 1
}
- trap "rm -f ${T} ${PROBS} ${LOCK}; exit 0" 1 2 3 15
+ trap "rm -f ${LOCK}; exit 0" 1 2 3 15
HERE=`pwd`
cd ${MOST_LOGS}
More information about the inn-committers
mailing list