write error to ${LOG}

This commit is contained in:
Tobias Powalowski 2023-05-23 21:54:37 +02:00
parent e9299d08c0
commit 755524d8e0

View file

@ -84,7 +84,7 @@ _update_environment() {
else else
if [[ -n "${_DOTESTING}" ]]; then if [[ -n "${_DOTESTING}" ]]; then
#shellcheck disable=SC2086 #shellcheck disable=SC2086
_ONLINE_KERNEL="$(pacman -Si core-testing/${_KERNELPKG} | grep Version | cut -d ':' -f2 | sed -e 's# ##' 2>${_NO_LOG})" _ONLINE_KERNEL="$(pacman -Si core-testing/${_KERNELPKG} 2>${_NO_LOG} | grep Version | cut -d ':' -f2 | sed -e 's# ##')"
fi fi
if [[ -z "${_ONLINE_KERNEL}" ]]; then if [[ -z "${_ONLINE_KERNEL}" ]]; then
#shellcheck disable=SC2086 #shellcheck disable=SC2086