Don't forget to chomp away the newline of the arch-test output

main
parent 49cc8cf32e
commit b7b6b28377
Signed by untrusted user: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -955,7 +955,7 @@ sub main() {
sparc64 => 'sparc64',
};
open my $fh, '-|', 'arch-test', '-n', $nativearch // die "failed to fork(): $!";
my $content = do { local $/; <$fh> };
chomp (my $content = do { local $/; <$fh> });
close $fh;
if ($? != 0 or $content ne "$nativearch: ok") {
if (!exists $deb2qemu->{$nativearch}) {

Loading…
Cancel
Save