also warn if /usr/sbin/update-binfmts has non-zero exit
This commit is contained in:
parent
df1827d991
commit
f50ca9bf6d
1 changed files with 1 additions and 1 deletions
|
@ -3326,7 +3326,7 @@ sub main() {
|
||||||
my $binfmts = do { local $/; <$fh> }
|
my $binfmts = do { local $/; <$fh> }
|
||||||
);
|
);
|
||||||
close $fh;
|
close $fh;
|
||||||
if ($binfmts eq '') {
|
if ($? != 0 || $binfmts eq '') {
|
||||||
warning "$binfmt_identifier is not a supported"
|
warning "$binfmt_identifier is not a supported"
|
||||||
. " binfmt name";
|
. " binfmt name";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue