From: Todd Lyons Date: Mon, 3 Nov 2014 21:20:47 +0000 (-0800) Subject: Fix uninitialized perl variable error output X-Git-Url: https://git.exim.org/buildfarm-client.git/commitdiff_plain/5921a5cb183399d86e5ffe69422c2ea7f4d71a9a Fix uninitialized perl variable error output --- diff --git a/run_build.pl b/run_build.pl index 9e68d8d..1e0e621 100755 --- a/run_build.pl +++ b/run_build.pl @@ -564,7 +564,7 @@ elsif (!$from_source) # If config file changed, force a rebuild ($current_config) = (stat $orig_dir.'/'.$buildconf)[9]; - if ($current_config > $last_config) + if (defined $current_config && $current_config > $last_config) { $last_status = 0; set_last('config',$current_config) unless $nostatus;