Fix some shellchecks issues
This commit is contained in:
parent
3ff244a3e5
commit
cfa15765e2
4 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue