Fix some shellchecks issues

This commit is contained in:
Stacy Harper 2021-07-25 09:54:53 +02:00
parent 3ff244a3e5
commit cfa15765e2
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65
4 changed files with 10 additions and 5 deletions

View file

@ -52,7 +52,7 @@ checkhooks() {
$EDITOR "$hook" "$defaulthook"
fi
else
printf "\e[33mHook $hook is identical to the default, so you don't need a custom hook, remove it? [Y/n]\e[0m"
printf "\e[33mHook %s is identical to the default, so you don't need a custom hook, remove it? [Y/n]\e[0m" "$hook"
if [ "n" != "$reply" ]; then
rm "$hook"
fi