Fix differing amount of newlines from subprocesses influences output

This commit is contained in:
Mario Krehl 2016-09-07 12:53:38 +02:00
parent e813ab9e3a
commit e2d3e5597b
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ fn main() {
}
for versionstring in result.into_iter().map(|handle| handle.join()) {
print!("{}", versionstring);
// The amount of newlines may differ depending on the subprocess
println!("{}", versionstring.trim());
}
}