Package: debianutils
Version: 2.23.1
Severity: wishlist

when mkboot searches for utilities, it does so with `which`, but it only
sends stdout to /dev/null.  stderr still gets dumped which means a failed
which results in ugly output.  the grub code for example:
grubcheck () {
    if ! which update-grub >/dev/null && ! which grub-install >/dev/null; then 
return 1; fi
}
should probably read:
which ... >/dev/null 2>&1

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages debianutils depends on:
ii  libc6                         2.6.1-1    GNU C Library: Shared libraries

debianutils recommends no packages.

-- no debconf information


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

Reply via email to