Skip to content

Commit

Permalink
Take note of the time when the process exited.
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Apr 19, 2010
1 parent 981299a commit 8ce9880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/crash-watch
Expand Up @@ -49,7 +49,7 @@ begin
if gdb.attach(ARGV[0])
puts "Monitoring PID #{ARGV[0]}..."
exit_info = gdb.wait_until_exit
puts "Process exited."
puts "Process exited at #{Time.now}."
puts "Exit code: #{exit_info.exit_code}" if exit_info.exit_code
puts "Signal: #{exit_info.signal}" if exit_info.signaled?
if exit_info.backtrace
Expand Down

0 comments on commit 8ce9880

Please sign in to comment.