From 12012f81125410e37dc3fd34b2431bb6c4de1323 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Wed, 17 Apr 2024 21:02:58 -0300 Subject: [PATCH] Fix shellcheck --- libexec/portzap/portzap-erase | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libexec/portzap/portzap-erase b/libexec/portzap/portzap-erase index a5eb15b..663d482 100644 --- a/libexec/portzap/portzap-erase +++ b/libexec/portzap/portzap-erase @@ -9,8 +9,8 @@ installdir=$2 # main printf "[-] Are you sure ? \n" printf "[-] These directories will be erased:\n" -printf " [*] ${gitdir}\n" -printf " [*] ${installdir}\n" +printf " [*] %s \n" "${gitdir}" +printf " [*] %s \n" "${installdir}\n" printf "[y|n] " while true; do read r @@ -20,7 +20,7 @@ while true; do printf "[-] Nothing to do\n" exit else - printf "[-] '${r}' is not a valid option.\n" + printf "[-] '%s' is not a valid option.\n" "${r}" printf "[y|n] " fi done