ruby/SOURCES/test_abrt.rb
2021-09-10 18:59:16 +00: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