rackerlabs / recap

A system status reporting tool
GNU General Public License v2.0
91 stars 55 forks source link

Error when enabling plugins but none is available. #183

Closed tonyskapunk closed 5 years ago

tonyskapunk commented 5 years ago

There is a bug in the code that loads the code of the plugins, when USEPLUGINS="yes" is enabled, the globbing expansion is not working as expected when there is no content in the plugins-enabled directory.

+ echo '2018-12-26 11:45:46-06:00 [INFO] Loading plugin: /usr/local/lib/recap/plugins-enabled/*'
+ source '/usr/local/lib/recap/plugins-enabled/*'
tonyskapunk commented 5 years ago

Fixed in #184