From 412cab3b3e6095e8876f339fef934f2605a70e8d Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 21 Mar 2020 12:07:08 +0100 Subject: Bugfix --- archinstall.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/archinstall.sh b/archinstall.sh index f7bcfda..382568b 100644 --- a/archinstall.sh +++ b/archinstall.sh @@ -87,13 +87,15 @@ export boot_mode="unknown" # alternatives: "bios" or "uefi" # functions -print_ok () { +function print_ok () { printf "\033[m[ \033[32mOK\033[m ] $1\n" } +export -f print_ok -print_failed () { +function print_failed () { printf "\033[m[ \033[31mFAILED\033[m ] $1\n" } +export -f print_failed # check internet connection -- cgit v1.2.3-70-g09d2