From 9e681ace336c659e159b4df34c97511a7d7ea9e8 Mon Sep 17 00:00:00 2001 From: purple Date: Sun, 24 Sep 2023 16:40:32 +0200 Subject: [PATCH] Silence rm output on -wipe --- blueprint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blueprint.sh b/blueprint.sh index 3551800..ad928aa 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -1093,8 +1093,8 @@ if [[ ( $2 == "-wipe" || $2 == "-w" ) ]]; then VCMD="y" if [[ ( ( $YN != "y"* ) && ( $YN != "Y"* ) ) || ( ( $YN == "" ) ) ]]; then log_bright "[INFO] Development files removal cancelled.";exit 1;fi log_bright "[INFO] Wiping development folder.." - rm -R .blueprint/dev/* - rm -R .blueprint/dev/.* + rm -R .blueprint/dev/* 2> /dev/null; + rm -R .blueprint/dev/.* 2> /dev/null; log_green "[SUCCESS] Your development files have been removed." fi