From 19c485e57171aa6bfcbce86d287eb3f3705e7290 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Mon, 3 Feb 2025 11:21:27 -0700 Subject: [PATCH] umount: Fix vars --- usr/local/share/bastille/umount.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/umount.sh b/usr/local/share/bastille/umount.sh index 5ffbc3a0..89017dfd 100644 --- a/usr/local/share/bastille/umount.sh +++ b/usr/local/share/bastille/umount.sh @@ -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."