2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-09 06:11:34 +00:00

Merge pull request #6645 from gurevichmark/go-xcat-ubuntu

Do not hide output of apt-key add
This commit is contained in:
besawn
2020-03-25 16:46:33 -04:00
committed by GitHub

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