From 67589adfb7118abf25aa415c6cbe9e549a1fbce1 Mon Sep 17 00:00:00 2001 From: liuhaitao Date: Thu, 16 Jul 2020 20:19:44 +0800 Subject: [PATCH] sethost.sh: always print logs to ease identify problem in configure phase Signed-off-by: liuhaitao --- tools/sethost.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/sethost.sh b/tools/sethost.sh index c99d8db0a76..93d159ec792 100755 --- a/tools/sethost.sh +++ b/tools/sethost.sh @@ -182,8 +182,4 @@ fi echo " Refreshing..." -if grep -q "V=1" <<< "$*" ; then - make olddefconfig $* || { echo "ERROR: failed to refresh"; exit 1; } -else - make olddefconfig $* 1>/dev/null || { echo "ERROR: failed to refresh"; exit 1; } -fi +make olddefconfig $* || { echo "ERROR: failed to refresh"; exit 1; }