Package: stda
Version: 1.1-2
Severity: normal

When there's an error, the exit code shouldn't be 0:

    # run mmval with bogus switch
    % seq 10 | mmval --fubar > /dev/null ; echo $?
    getopt: unrecognized option '--fubar'
    0

Compare to:

    % calc  --fubar ; echo $?   
    "fubar" is undefined
    
    Error in commands
    1

    % ls --fubar ; echo $?
    ls: unrecognized option '--fubar'
    Try `ls --help' for more information.
    2
 
Hope this helps...



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages stda depends on:
ii  gawk     1:3.1.8+dfsg-0.1
ii  gnuplot  4.4.0-1.1       
ii  mawk     1.3.3-16        

Versions of packages stda recommends:
ii  evince  3.2.1-1  
ii  gv      1:3.7.2-2

stda suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to