[Logcheck-commits] CVS logcheck/src
CVS User maks-guest
logcheck-devel at lists.alioth.debian.org
Wed Jul 20 14:48:58 UTC 2005
Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv2195/src
Modified Files:
logcheck
Log Message:
tmpdir is set by logcheck itself does not need escaping at all.
--- /cvsroot/logcheck/logcheck/src/logcheck 2005/07/11 11:51:18 1.119
+++ /cvsroot/logcheck/logcheck/src/logcheck 2005/07/20 14:48:58 1.120
@@ -22,7 +22,7 @@
# along with Logcheck; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-# $Id: logcheck,v 1.119 2005/07/11 11:51:18 maks-guest Exp $
+# $Id: logcheck,v 1.120 2005/07/20 14:48:58 maks-guest Exp $
if [ $UID == 0 ]; then
echo "logcheck should not be run as root. Use su to invoke logcheck:"
@@ -91,7 +91,7 @@
lockfile-remove $LOCKFILE
fi
- if [ -d "$TMPDIR" ]; then
+ if [ -d $TMPDIR ]; then
# Remove the tmp directory
if [ $NOCLEANUP -eq 0 ];then
debug "Cleanup: Removing - $TMPDIR"
More information about the Logcheck-commits
mailing list