forked from hyperhq/hyper-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show_message error can exit itself, add show_message fatal, fix typo
I have notice that `show_message error` has always comes with an exit, so I merge the exit func into show_message. You can use it with `show_message error ${ERR_TWO_ELEMENT_ARRAY[@]}` I have noticed that the original implement on display_message always comesafter an error message. Since it's not the case user can easily solve themself, why not implement a fatal message and it would give the (almost) same result. You can use it with `show_message fatal ${ERR_EXIT_CODE}` Also fixed some typo and missleading message in this commit. Install from remote -> Start fetching hyper package Installing -> Installing hyper and hyperd Since __done__ is a reserve keyword in bash, I personally recommand remove it(as I did).
- Loading branch information
Jiahao Dai
committed
Oct 8, 2015
1 parent
289cd2d
commit c49615c
Showing
1 changed file
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters