From a1ad50c94b2d87614405cd9e268e0d46f33174ca Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Tue, 24 Mar 2020 10:27:41 -0400 Subject: [PATCH] Do not hide output of apt-key add --- xCAT-server/share/xcat/tools/go-xcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/tools/go-xcat b/xCAT-server/share/xcat/tools/go-xcat index 948f0863a..71b947961 100755 --- a/xCAT-server/share/xcat/tools/go-xcat +++ b/xCAT-server/share/xcat/tools/go-xcat @@ -1355,7 +1355,7 @@ function add_xcat_core_repo_apt() local tmp="${TMP_DIR}/tmp_xcat.key" download_file "${url}" "${tmp}" warn_if_bad "$?" "download xcat apt key failed" || return 1 - apt-key add "${tmp}" >/dev/null 2>&1 + apt-key add "${tmp}" warn_if_bad "$?" "import xcat apt key failed" || return 1 case "${ver}" in "devel")