ruby/test_abrt.rb
2015-12-13 19:36:58 +01:00

8 lines
130 B
Ruby

if !!$LOADED_FEATURES.detect { |f| f =~ /abrt\.rb/ }
exit true
else
puts 'ERROR: ABRT hook was not loaded.'
exit false
end