mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
flatcar_workon: Simplify condition
Co-authored-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
eba755d96b
commit
d29ffa08a7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user