sleinen / diskonade

When your disks are lemons...
GNU Affero General Public License v3.0
0 stars 3 forks source link

Eat smartctl -x's exit status #5

Closed sleinen closed 8 years ago

sleinen commented 8 years ago

smartctl -x likes to return with a non-zero exit status. Currently our script prints a warning for this. We should handle it more gracefully. The smartctl man page describes how the exit status is computed by ORing several bits.