Skip to content

Commit

Permalink
dircmp.pl: added "no ELF binaries" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
svpv committed Nov 2, 2016
1 parent 420fab2 commit 5e6a3b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bad_elf_symbols_dircmp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
use qa::rpmelfsym 'collect_bad_elfsym';
collect_bad_elfsym $TMPDIR, "1", \@rpms1;
collect_bad_elfsym $TMPDIR, "2", \@rpms2;
exit 0 unless -s "$TMPDIR/seq";
unless (-s "$TMPDIR/seq") {
warn basename($0), ": no ELF binaries\n";
exit 0;
}

collect_bad_elfsym $TMPDIR, "0", \@rpms0;

Expand Down

0 comments on commit 5e6a3b5

Please sign in to comment.