* fixed typo "perfdata"
 * return_code can be 0, so specifically check for None