Skip to content

Commit

Permalink
[backend] remove bogus die() call after xsystem call
Browse files Browse the repository at this point in the history
xsystem already calls die() on error.
  • Loading branch information
mlschroe committed Nov 27, 2017
1 parent 1bbf7d9 commit 461ce97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_signer
Expand Up @@ -249,7 +249,7 @@ sub rsasign {
my ($signfile, $jobstatus, @signargs) = @_;
my @opensslsignargs = ('-h', 'sha256');
if ($signfile !~ /\.cpio\.rsasign$/) {
BSUtil::xsystem(undef, $BSConfig::sign, @signargs, '-O', @opensslsignargs, $signfile) && die("openssl sign $signfile failed\n");
BSUtil::xsystem(undef, $BSConfig::sign, @signargs, '-O', @opensslsignargs, $signfile);
return;
}
# cpio case, sign every plain file in the archive
Expand Down

0 comments on commit 461ce97

Please sign in to comment.