init: do not redirect shell output to stderr

This commit is contained in:
illiliti 2021-05-11 13:06:58 +03:00
parent 19d06826f3
commit d7991ea80b

4
init
View File

@ -13,10 +13,10 @@ print()
panic() panic()
{ {
print "${1:-unexpected error occurred}" \ print "${1:-unexpected error occurred}" \
"\033[1;31m!!\033[m" "\033[1;31m!!\033[m" >&2
sh sh
} >&2 }
resolve_device() resolve_device()
{ {