forked from evolix/ansible-roles
evolinux-base: check_hpraid.sh: Fix RAID state detection
This commit is contained in:
parent
35123f8189
commit
f963eaacf6
|
@ -37,10 +37,11 @@ main() {
|
|||
cat << EOT
|
||||
Different RAID state detected.
|
||||
Was:
|
||||
$check_hpraid_last
|
||||
$(cat $check_hpraid_last)
|
||||
Is now:
|
||||
$check_hpraid_output
|
||||
$(cat $check_hpraid_output)
|
||||
EOT
|
||||
cp "$check_hpraid_output" $check_hpraid_last
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue