Package: tiger
Version: 1:3.2.1-24
Severity: normal

Hi.  I just upgraded my system from woody to sarge and suddenly I've got
this error in my logs:
/usr/lib/tiger/scripts/check_accounts: line 249: [: -gt: unary operator
expected
/usr/lib/tiger/scripts/check_accounts: line 295: [: -gt: unary operator
expected

It looks like the line:
[ $uid -gt $Tiger_Accounts_Trust ]

Should be something like:
[ 0"$uid" -gt 0"$Tiger_Accounts_Trust" ]

So if either variable is null the comparison still works, or null check the
variables before doing the comparison.  (I'd have to mull over how the
greater than would work in each null case in the first suggestion - I guess
maybe checking those variables for nullness is safer.)

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29gcc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tiger depends on:
ii  binutils                    2.15-6       The GNU assembler, linker and bina
ii  coreutils [fileutils]       5.2.1-2      The GNU core utilities
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  diff                        2.8.1-11     File comparison utilities
ii  fileutils                   5.2.1-2      The GNU file management utilities 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  shellutils                  5.2.1-2      The GNU shell programming utilitie
ii  textutils                   5.2.1-2      The GNU text file processing utili

-- debconf information:
* tiger/mail_rcpt: dmartin
  tiger/remove_mess: true
* tiger/policy_adapt:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to