forked from josch/mmdebstrap
Don't forget to chomp away the newline of the arch-test output
This commit is contained in:
parent
49cc8cf32e
commit
b7b6b28377
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue