Fix to exit on error [build]

This commit is contained in:
Ilia Ross
2024-04-14 01:14:21 +03:00
parent ce5b85c5e2
commit 5f6a6c8425

View File

@@ -88,7 +88,8 @@ else {
# Build EOL data
if (-r "./webmin/os-eol-lib.pl") {
print "Building OS EOL data\n";
system("./os-eol-make.pl");
my $err = system("./os-eol-make.pl");
exit(1) if ($err);
}
# Prepare dist files