From d56b3a601d8a358ef768d9ede7131630e78ebe45 Mon Sep 17 00:00:00 2001 From: Stefan Herold Date: Tue, 22 Nov 2022 13:44:41 +0100 Subject: [PATCH] Replace echo by log_error --- clean-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clean-mac.sh b/clean-mac.sh index 40630fb..bbccefc 100755 --- a/clean-mac.sh +++ b/clean-mac.sh @@ -13,7 +13,7 @@ cleanup() { cd $pwd # Print statuscode if non successful if [[ ! $code -eq 0 ]]; then - echo "🔴 Exit with status code $code" + log_error "Exit with status code $code" exit $code fi }