`objdump --disassemble-all no-such-file' exits successfully

Jim Meyering meyering@ascend.com
Mon Jul 12 06:31:00 GMT 1999


Hi,

Although `objdump --disassemble-all no-such-file' correctly diagnoses
the problem, it exits successfully when the specified file doesn't exist:

  $ objdump --disassemble-all no-such-file
  objdump: no-such-file: No such file or directory
  $

It should exit nonzero instead.

  $ objdump --version
  GNU objdump 2.9.1
  Copyright 1997 Free Software Foundation, Inc.
  This program is free software; you may redistribute it under the terms of
  the GNU General Public License.  This program has absolutely no warranty.


More information about the Binutils mailing list