From d3ab9d892e65e5b1669704390c7d0d36db5912c2 Mon Sep 17 00:00:00 2001 From: Marco Raber Date: Sat, 9 Apr 2022 15:41:29 +0200 Subject: [PATCH] Corretto refuso su exit 3 al check esistenza editor --- ne | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ne b/ne index 1d29b51..a740a91 100755 --- a/ne +++ b/ne @@ -65,7 +65,7 @@ $(which cp) $file /tmp/copia_check_nginx_${USER} #$(which cat) $file > /tmp/copi [[ $? -eq 1 ]] && printf "File $file not found, exiting\n" && exit 1 #qua command -v e non which per silent quando fallisce -[[ ! -e $(command -v $text_editor) ]] && echo "$program_privileges is not installed" && exit 3 +[[ ! -e $(command -v $text_editor) ]] && echo "$text_editor is not installed" && exit 3 [[ ! -e $(command -v $program_privileges) ]] && echo "$program_privileges is not installed" && exit 4 $program_privileges $text_editor $file diff --color=always $file /tmp/copia_check_nginx_${USER}