Skip to content

Commit

Permalink
Merge pull request #68 from mitya57/objdump-stderr
Browse files Browse the repository at this point in the history
Redirect stderr of ‘objdump -f’ to null
  • Loading branch information
lvc authored Mar 24, 2018
2 parents 95981f2 + b5f3280 commit c75eb3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/Internals/ElfTools.pm
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ sub getArch_Object($)
exitStatus("Not_Found", "can't find \"objdump\"");
}

my $Cmd = $ObjdumpCmd." -f \"$Path\"";
my $TmpDir = $In::Opt{"Tmp"};
my $Cmd = $ObjdumpCmd." -f \"$Path\" 2>$TmpDir/null";

my $Locale = $In::Opt{"Locale"};
if($In::Opt{"OS"} eq "windows") {
Expand Down

0 comments on commit c75eb3e

Please sign in to comment.