Simplify code

Fallout from 1e0564d66c
This commit is contained in:
Debarshi Ray 2019-04-11 15:45:12 +02:00
parent 0b06e51273
commit 5f1716b28b

View file

@ -1099,9 +1099,7 @@ forward_to_host()
update_container_and_image_names()
{
if [ "$release" = "" ] 2>&3; then
release=$(get_host_version_id)
fi
[ "$release" = "" ] 2>&3 && release=$(get_host_version_id)
if [ "$base_toolbox_image" = "" ] 2>&3; then
base_toolbox_image="fedora-toolbox:$release"