commit | 2566cc2c8715459e57007640a484b4ebfcc0410e | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Mar 15 12:29:38 2016 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Mar 15 12:29:38 2016 -0300 |
tree | 3f7ba11594f3b884edc00796ef5715b484465604 | |
parent | 9f3f67e78679bf3e337e37f67577b149410cd6bc [diff] |
pdwtags: Show proper error messages for files it can't handle Before it would print no message, only update its exit status, now: $ cat foo cat: foo: No such file or directory $ pdwtags foo pdwtags: foo: No such file or directory $ pdwtags /dev/null ctf__new: cannot get elf header. pdwtags: /dev/null: Invalid argument $ Reported-by: Eric Blake <eblake@redhat.com> Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=949034 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>