system($command); if ($? == -1 ) { $step = $step -1; display_err($command,$step); exit; } sub display_err { my ($cmd,$step)= @_; open(LOG, ">>release_log.log")|| die "Unable to open release_log.log for output: $!\n"; print LOG <