diff --git a/config/functions b/config/functions index b00e535ab0..bf54452095 100644 --- a/config/functions +++ b/config/functions @@ -185,10 +185,8 @@ safe_remove() { for path in "$@" ; do if [ -e "${path}" -o -L "${path}" ]; then rm -r "${path}" - elif [ -n "${PKG_NAME}" ]; then - print_color CLR_WARNING "safe_remove: path does not exist: [${PKG_NAME}]: ${path}\n" else - print_color CLR_WARNING "safe_remove: path does not exist: ${path}\n" + log_qa_check "safe_remove" "path does not exist: ${path}" fi done }