2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Do not hide output of apt-key add

This commit is contained in:
Mark Gurevich 2020-03-24 10:27:41 -04:00
parent 45d6b6c700
commit a1ad50c94b

View File

@ -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")