mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-22 10:10:46 +01:00
verify: Fix wrong var name when removing wrong template
This commit is contained in:
@@ -143,7 +143,7 @@ verify_template() {
|
|||||||
if [ "${_hook_validate}" -lt 1 ]; then
|
if [ "${_hook_validate}" -lt 1 ]; then
|
||||||
error_notify "No valid template hooks found."
|
error_notify "No valid template hooks found."
|
||||||
error_notify "Template discarded."
|
error_notify "Template discarded."
|
||||||
rm -rf "${bastille_template}"
|
rm -rf "${_template_path}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user