Not interested in child exit status

This commit is contained in:
Bob Polis 2024-06-20 13:14:03 +02:00
parent c19ffb3564
commit 3e54544e95

View File

@ -48,8 +48,7 @@ void convert(const std::string& path) { // try to convert to ppm using ImageMagi
write_image(std::cout, stdin); write_image(std::cout, stdin);
int exit_status; throw_if_min1(wait(nullptr));
throw_if_min1(wait(&exit_status));
break; break;
} }
} }