ruby/SOURCES/test_abrt.rb

8 lines
130 B
Ruby
Raw Permalink Normal View History

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