umount: Fix vars

This commit is contained in:
tschettervictor
2025-02-03 11:21:27 -07:00
committed by GitHub
parent 8b6e5338f1
commit 19c485e571

View File

@@ -90,8 +90,8 @@ for _jail in ${JAILS}; do
info "[${_jail}]:"
check_target_is_running "${TARGET}" || if [ "${AUTO}" -eq 1 ]; then
bastille start "${TARGET}"
check_target_is_running "${_jail}" || if [ "${AUTO}" -eq 1 ]; then
bastille start "${_jail}"
else
error_notify "Jail is not running."
error_exit "Use [-a|--auto] to auto-start the jail."