Compare commits
No commits in common. "51ebe9eb79106dd509a92313330d4c02eff93ee1" and "c9b9d6c016297e33eaa6f33739df3e55660f5fc9" have entirely different histories.
51ebe9eb79
...
c9b9d6c016
@ -144,9 +144,9 @@ if [ "$STORAGE_FREE" -lt "$REQUIRED_KB" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check Cluster Quorum if in Cluster
|
# Check Cluster Quorum if in Cluster
|
||||||
if ! pvecm status | awk '/^Quorate:/ {exit $2 != "Yes"}'; then
|
if ! pvecm status | grep -q "Quorate: Yes"; then
|
||||||
printf "\e[?25h"
|
printf "\e[?25h" # Cursor sichtbar machen
|
||||||
echo -e "\n${CROSS}${RD}Cluster is not quorate. Start all nodes or configure quorum device (QDevice).${CL}\n"
|
echo -e "\n\n${CROSS}${RD}Cluster is not quorate. Start all nodes or configure quorum device (QDevice). 111${CL}\n"
|
||||||
exit 210
|
exit 210
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user