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