[Logcheck-commits] r1451 - in logcheck/trunk: debian src
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sun Jan 14 19:34:38 CET 2007
Author: madduck
Date: 2007-01-14 19:34:38 +0100 (Sun, 14 Jan 2007)
New Revision: 1451
Modified:
logcheck/trunk/debian/changelog
logcheck/trunk/src/logcheck
Log:
* logcheck now chdir()s to /var/lib/logcheck before cleanup of the temporary
directory. This should hopefully fix some of the "Check temporary
directory" messages.
Modified: logcheck/trunk/debian/changelog
===================================================================
--- logcheck/trunk/debian/changelog 2007-01-14 17:54:22 UTC (rev 1450)
+++ logcheck/trunk/debian/changelog 2007-01-14 18:34:38 UTC (rev 1451)
@@ -60,9 +60,9 @@
* ignore.d.server/saned: also ignore access granted messages for other
usernames.
- * logcheck now chdir()s to $HOME before cleanup of the temporary directory.
- This should hopefully fix some of the "Check temporary directory"
- messages.
+ * logcheck now chdir()s to /var/lib/logcheck before cleanup of the temporary
+ directory. This should hopefully fix some of the "Check temporary
+ directory" messages.
* Modified the system account Gecos name to "logcheck system account".
Modified: logcheck/trunk/src/logcheck
===================================================================
--- logcheck/trunk/src/logcheck 2007-01-14 17:54:22 UTC (rev 1450)
+++ logcheck/trunk/src/logcheck 2007-01-14 18:34:38 UTC (rev 1451)
@@ -106,7 +106,7 @@
if [ -d $TMPDIR ]; then
# Remove the tmp directory
if [ $NOCLEANUP -eq 0 ];then
- cd
+ cd /var/lib/logcheck
debug "cleanup: Removing - $TMPDIR"
rm -r $TMPDIR
else
More information about the Logcheck-commits
mailing list