[catalyst] Fix typo
I forgot parentheses.
TBR=nmulcahey
Change-Id: I41c3ab8ea73c7afd51d376fa4ad4785866e248db
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/376554
Commit-Queue: Anirudh Mathukumilli <rudymathu@google.com>
Reviewed-by: Nathan Mulcahey <nmulcahey@google.com>
diff --git a/cmd/catalyst/main.go b/cmd/catalyst/main.go
index dd21ee4..650d622 100644
--- a/cmd/catalyst/main.go
+++ b/cmd/catalyst/main.go
@@ -146,7 +146,7 @@
for _, device := range devices {
if device.Type() == "nuc" {
device.Powercycle(ctx)
- } else if enableFastboot && device.Type() == "astro" || device.Type() == "sherlock" {
+ } else if enableFastboot && (device.Type() == "astro" || device.Type() == "sherlock") {
if exitCode := runFastbootFlash(ctx, device, files); exitCode != 0 {
log.Printf("fastboot flash failed for %s: exit code: %d", device.Nodename(), exitCode)
}