ruby/SOURCES/test_abrt.rb

8 lines
130 B
Ruby
Raw Normal View History

2021-11-03 00:05:38 +00:00
if !!$LOADED_FEATURES.detect { |f| f =~ /abrt\.rb/ }
exit true
else
puts 'ERROR: ABRT hook was not loaded.'
exit false
end