Skip to content

Commit

Permalink
Pass exception message down into SystemExit exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dbussink committed Jan 26, 2012
1 parent 35823ab commit 52cf6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/common/process.rb
Expand Up @@ -144,7 +144,7 @@ def self.kill(sig, pid)

def self.abort(msg=nil)
$stderr.puts(msg) if msg
raise SystemExit.new(1)
raise SystemExit.new(1, msg)
end

def self.getpgid(pid)
Expand Down

0 comments on commit 52cf6b9

Please sign in to comment.