Skip to content

Commit

Permalink
flatcar_workon: Simplify condition
Browse files Browse the repository at this point in the history
Co-authored-by: James Le Cuirot <[email protected]>
  • Loading branch information
krnowak and chewi authored Jul 2, 2024
1 parent eba755d commit d29ffa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flatcar_workon
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -euo pipefail
# If both board and host are specified, just use host, because board
# does not have to be specified and may come from default, in which
# case there's no way to override.
if [[ -n ${FLAGS_board} ]] && [[ ${FLAGS_host} = "${FLAGS_TRUE}" ]]; then
if [[ -n ${FLAGS_board} && ${FLAGS_host} = "${FLAGS_TRUE}" ]]; then
unset FLAGS_board # kill board
fi

Expand Down

0 comments on commit d29ffa0

Please sign in to comment.