From 28768f487838d0fdf061fc58f42d1f3af4de675f Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 18 Feb 2021 21:03:51 +0100 Subject: [PATCH] Internal: cache recreation doesn't need terminal This remove pointless error when running cache recreate --- lib/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.sh b/lib/main.sh index ce8b73a75a..c6100b2928 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -26,7 +26,7 @@ umask 002 # destination DEST="${SRC}"/output -if [[ $BUILD_ALL != "yes" ]]; then +if [[ $BUILD_ALL != "yes" && -z $ROOT_FS_CREATE_ONLY ]]; then # override stty size [[ -n $COLUMNS ]] && stty cols $COLUMNS [[ -n $LINES ]] && stty rows $LINES