[Logcheck-devel] Bug#271482: logcheck: should handle lack of permissions gracefully

martin f krafft madduck at debian.org
Mon Sep 13 11:47:31 UTC 2004


Package: logcheck
Version: 1.2.26
Severity: minor

/usr/sbin/logcheck: line 383: /var/log/postgresql/postgres.log:
Permission denied
/usr/sbin/logcheck: line 383: [: -lt: unary operator expected

Yeah, sure.

But you *should* be using [[ and ]] instead of [ and ] (throughout)
so avoid such problems.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040913/a6bcf27e/attachment.pgp 


More information about the Logcheck-devel mailing list