Use script-friendly gmirror status output to build this info, old method was breaking output when the mirror was being rebuilt.
Use script-friendly gmirror status output to build this info, old method was breaking output when the mirror was being rebuilt.