diff --git a/gentoo-install.sh b/gentoo-install.sh index 44a3333..c137e21 100755 --- a/gentoo-install.sh +++ b/gentoo-install.sh @@ -218,7 +218,7 @@ function stage_step() { local s4file SwapUUID SwapOffset local cmd - if "$DEBUG"; then + if [[ "$DEBUG" ]]; then cmd="echo" else cmd=""