Skip to content

Commit

Permalink
Update xprof/xprof.rb.in
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerilk authored Oct 1, 2024
1 parent 2aa7260 commit 26d50fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ DATADIR = DATAROOTDIR
class XprofExitCode
@@exit_code = 0
def self.update(exit_code)
@@exit_code = exit_code unless exit_code.zero?
# Keep only the first error
@@exit_code = exit_code if @@exit_code == 0
end

def self.get
Expand Down

0 comments on commit 26d50fb

Please sign in to comment.