diff options
Diffstat (limited to 'archinstall.sh')
-rw-r--r-- | archinstall.sh | 6 |
1 files 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 |