NovaEvacuate: fix a syntax error
In all the chaos of complicated patch unentanglement and rebasing, I forgot to actually even syntax-check the thing :-( Change-Id: Ib0a31efe2ff75fc55cf67d4de73e74ebafb219b0
This commit is contained in:
parent
1102662aad
commit
42bb0c53e3
@ -212,8 +212,7 @@ handle_evacuations() {
|
||||
if [ $need_evacuate = 1 ]; then
|
||||
fence_agent="fence_compute"
|
||||
|
||||
if have_binary fence_evacuate
|
||||
then
|
||||
if have_binary fence_evacuate; then
|
||||
fence_agent="fence_evacuate"
|
||||
fi
|
||||
|
||||
@ -265,7 +264,7 @@ evacuate_validate() {
|
||||
rc=$OCF_SUCCESS
|
||||
fence_options=""
|
||||
|
||||
if ! have_binary fence_evacuate
|
||||
if ! have_binary fence_evacuate; then
|
||||
check_binary fence_compute
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user