Skip to content

Commit

Permalink
CI: nginx's #install raises if commands fail
Browse files Browse the repository at this point in the history
Signed-off-by: Ming Xiao <ming.xiao@broadcom.com>
  • Loading branch information
aramprice authored and mingxiao committed Dec 11, 2024
1 parent e55e122 commit ef1b6d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/spec/integration_support/nginx_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ def run_command(command, environment = {})
end

io.close
process_status = $?

raise "Command: #{command.inspect} failed with #{process_status.inspect}" unless process_status.success?

lines
end
Expand Down

0 comments on commit ef1b6d8

Please sign in to comment.