diff --git a/scripts/functions.sh b/scripts/functions.sh index f59611a..b60a721 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -822,7 +822,7 @@ function gentoo_chroot() { gentoo_chroot "$1" /bin/bash --init-file <(echo 'init_bash') fi - [[ $EXECUTED_IN_CHROOT != "true" ]] \ + [[ -v EXECUTED_IN_CHROOT ]] \ || die "Already in chroot" local chroot_dir="$1" diff --git a/scripts/utils.sh b/scripts/utils.sh index 5c9e3f2..b88de82 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -6,7 +6,7 @@ function elog() { } function einfo() { - echo "[*] $*" + echo "[[1+] $*" } function ewarn() {