Silence rm output on -wipe

This commit is contained in:
purple 2023-09-24 16:40:32 +02:00
parent 8410d90bd5
commit 9e681ace33

View file

@ -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 if [[ ( ( $YN != "y"* ) && ( $YN != "Y"* ) ) || ( ( $YN == "" ) ) ]]; then log_bright "[INFO] Development files removal cancelled.";exit 1;fi
log_bright "[INFO] Wiping development folder.." log_bright "[INFO] Wiping development folder.."
rm -R .blueprint/dev/* rm -R .blueprint/dev/* 2> /dev/null;
rm -R .blueprint/dev/.* rm -R .blueprint/dev/.* 2> /dev/null;
log_green "[SUCCESS] Your development files have been removed." log_green "[SUCCESS] Your development files have been removed."
fi fi