Package: findutils
Version: 4.2.22-2
Severity: normal

xargs exits with the wrong status when the command exits with status 1:

    % false; echo $?
    1
    % echo foo | xargs -t false; echo $?
    false foo
    0

The exit status ought to be 123, according to the man page:

    xargs exits with the following status:
    0 if it succeeds
    123 if any invocation of the command exited with status 1-125
    ...

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages findutils depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

findutils 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