From 27b48ddff2595e5ade13008f3f80eb22ae98a2f2 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Tue, 28 Jun 2022 12:44:56 -0700 Subject: [PATCH] config/functions: log safe_remove as a qa check --- config/functions | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }