From 64243425ce4014cbc2e888c31bde7a9494fa217e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 26 Jul 2022 17:21:49 +0200 Subject: [PATCH] installer: suppress VERSION not found error --- scripts/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 381a81b26..4088a7b31 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -69,7 +69,7 @@ readonly ubuntu_codename=$(lsb_release -cs) readonly is_update=$(systemctl is-active -q box && echo "yes" || echo "no") -log "Updating from $(cat $box_src_dir/VERSION) to $(cat $box_src_tmp_dir/VERSION)" +log "Updating from $(cat $box_src_dir/VERSION 2>/dev/null) to $(cat $box_src_tmp_dir/VERSION 2>/dev/null)" # https://docs.docker.com/engine/installation/linux/ubuntulinux/ readonly docker_version=20.10.14