From 97fd3e77ea7ad5a18be327a17a3e1b6c93866ceb Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 4 Jan 2020 13:27:12 +0100 Subject: [PATCH] Avoiding infinite loops seems reasonable --- scripts/main.sh | 1 - scripts/utils.sh | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/main.sh b/scripts/main.sh index a3c1e55..bf1684d 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -55,7 +55,6 @@ main_install_gentoo_in_chroot() { einfo "Selecting portage mirrors" # TODO mirrorselect - # TODO custom gentoo.conf for /var/db/repos ??? # TODO gpg portage sync # TODO additional binary repos # TODO safe dns settings (claranet) diff --git a/scripts/utils.sh b/scripts/utils.sh index 87ca290..3fda645 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -104,6 +104,8 @@ try() { esac done fi + + return done }