patch

I like your plugin, but found a bug: If the script fails for any reason it just reports:

OK: Drives 0

This is actually misleading, because it does not check the Drives at all.

I wrote a bugfix for that:

just BEFORE the last line (exitreport($status, $result);)
add:
if ( $pdcount