From 5f6a6c8425e43a92bbd9b69f5aeca997afc8de52 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Sun, 14 Apr 2024 01:14:21 +0300 Subject: [PATCH] Fix to exit on error [build] --- makedist.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makedist.pl b/makedist.pl index 9bd69313d..5b7063ba0 100755 --- a/makedist.pl +++ b/makedist.pl @@ -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