]> git.proxmox.com Git - pve-storage.git/commit
do not automatically die on smartctl exit code > 0
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 8 Sep 2016 12:27:12 +0000 (14:27 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 8 Sep 2016 14:52:33 +0000 (16:52 +0200)
commit9018a4e639be1dbcbaff3d1915ee86d54d325b42
treeb25ecde0845acef9a5403a51a5d3f714a20d7e0b
parent16171cedec08717cbe28f761e4cb8b5b9bf73074
do not automatically die on smartctl exit code > 0

since smartctl uses the return value to encode
disk health status (such as failure in the past)
we cannot die there, but have to parse the returncode

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Diskmanage.pm