From a365571566c407e1cfe76274f1dc493924b56380 Mon Sep 17 00:00:00 2001 From: shvedes Date: Sun, 25 May 2025 13:15:45 +0200 Subject: [PATCH] do not verbose rm command --- photoshop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photoshop.sh b/photoshop.sh index 5e9a606..ce1e3ea 100755 --- a/photoshop.sh +++ b/photoshop.sh @@ -185,7 +185,7 @@ is_path_exists() { echo -e "$WARNING The specified path '${YELLOW}${1}${RESET}' already exists." if ask_user "Do you want to ${RED}delete${RESET} previous installation?"; then - if rm -rfv "${1:?}" 2>>./install_log.log; then + if rm -rfv "${1:?}" &>>./install_log.log; then echo -e "$LOG Deleted old installation." else echo -e "$ERROR Something went wrong."