Of git, get, and gud
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--- a/check_raid/check_raid +++ b/check_raid/check_raid _æ_ _æ_ -3975,8 +3975,10 _æ_ _æ_ sub check { package hpacucli; use base 'plugin'; -# register -push( _æ_ utils::plugins, __PACKAGE__); +# register if cciss_vol_status is not available +if (! utils::which('cciss_vol_status')) { + push( _æ_ utils::plugins, __PACKAGE__); +} sub program_names { __PACKAGE__;