diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-21 12:07:08 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-21 12:07:08 +0100 |
commit | 412cab3b3e6095e8876f339fef934f2605a70e8d (patch) | |
tree | cd5b8293ebe0e90208259d787d18602bf00db6b3 | |
parent | c8611a20d2e230a40b3bd71acec9e2054cfc5444 (diff) | |
download | archinstall-412cab3b3e6095e8876f339fef934f2605a70e8d.tar archinstall-412cab3b3e6095e8876f339fef934f2605a70e8d.tar.zst archinstall-412cab3b3e6095e8876f339fef934f2605a70e8d.zip |
Bugfix
-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 |