git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0149648
)
Updated exicyclog changes to correct rejectlog/paniclog mix up. Fixes: #602
author
Nigel Metheringham
<nigel@exim.org>
Wed, 6 Feb 2008 12:35:03 +0000
(12:35 +0000)
committer
Nigel Metheringham
<nigel@exim.org>
Wed, 6 Feb 2008 12:35:03 +0000
(12:35 +0000)
src/src/exicyclog.src
patch
|
blob
|
history
diff --git
a/src/src/exicyclog.src
b/src/src/exicyclog.src
index efc0af5e771af733c391e5207d46f03bc568045d..56e3b664440ea2874a5b16598b21715c2641240d 100644
(file)
--- a/
src/src/exicyclog.src
+++ b/
src/src/exicyclog.src
@@
-1,5
+1,5
@@
#! /bin/sh
#! /bin/sh
-# $Cambridge: exim/src/src/exicyclog.src,v 1.
6 2008/01/30 20:09:24
nm4 Exp $
+# $Cambridge: exim/src/src/exicyclog.src,v 1.
7 2008/02/06 12:35:03
nm4 Exp $
# Copyright (c) 2006 University of Cambridge.
# See the file NOTICE for conditions of use and distribution.
# Copyright (c) 2006 University of Cambridge.
# See the file NOTICE for conditions of use and distribution.
@@
-241,8
+241,8
@@
if [ -f $mainlog.$keept.$suffix ]; then $rm $mainlog.$keept.$suffix; fi;
if [ -f $rejectlog.$keept ]; then $rm $rejectlog.$keept; fi;
if [ -f $rejectlog.$keept.$suffix ]; then $rm $rejectlog.$keept.$suffix; fi;
if [ -f $rejectlog.$keept ]; then $rm $rejectlog.$keept; fi;
if [ -f $rejectlog.$keept.$suffix ]; then $rm $rejectlog.$keept.$suffix; fi;
-if [ -f $paniclog.$keept ]; then $rm $
reject
log.$keept; fi;
-if [ -f $paniclog.$keept.$suffix ]; then $rm $
reject
log.$keept.$suffix; fi;
+if [ -f $paniclog.$keept ]; then $rm $
panic
log.$keept; fi;
+if [ -f $paniclog.$keept.$suffix ]; then $rm $
panic
log.$keept.$suffix; fi;
# Now rename all the previous old files by increasing their numbers by 1.
# When the number is less than 10, insert a leading zero.
# Now rename all the previous old files by increasing their numbers by 1.
# When the number is less than 10, insert a leading zero.
@@
-301,7
+301,7
@@
fi
if [ -f $paniclog ]; then
$mv $paniclog $paniclog.$first
if [ -f $paniclog ]; then
$mv $paniclog $paniclog.$first
- $chown $user:$group $
reject
log.$first
+ $chown $user:$group $
panic
log.$first
$touch $paniclog
$chown $user:$group $paniclog
$chmod 640 $paniclog
$touch $paniclog
$chown $user:$group $paniclog
$chmod 640 $paniclog