Browse Source

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
Adam Spiers 1 year ago
parent
commit
42bb0c53e3
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      ocf/NovaEvacuate

+ 2
- 3
ocf/NovaEvacuate View File

@@ -212,8 +212,7 @@ handle_evacuations() {
212 212
         if [ $need_evacuate = 1 ]; then
213 213
             fence_agent="fence_compute"
214 214
 
215
-            if have_binary fence_evacuate
216
-            then
215
+            if have_binary fence_evacuate; then
217 216
                 fence_agent="fence_evacuate"
218 217
             fi
219 218
 
@@ -265,7 +264,7 @@ evacuate_validate() {
265 264
     rc=$OCF_SUCCESS
266 265
     fence_options=""
267 266
 
268
-    if ! have_binary fence_evacuate
267
+    if ! have_binary fence_evacuate; then
269 268
        check_binary fence_compute
270 269
     fi
271 270
 

Loading…
Cancel
Save