mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-26 07:21:15 +01:00
fix shellcheck
This commit is contained in:
@@ -175,7 +175,7 @@ set_target_single() {
|
||||
local _status=0
|
||||
if [ "${_TARGET}" = ALL ] || [ "${_TARGET}" = all ]; then
|
||||
error_exit "[all|ALL] not supported with this command."
|
||||
elif echo "${_TARGET}" > /dev/null | grep -Eq '^[0-9]+$'; then
|
||||
elif echo "${_TARGET}" | grep -Eq '^[0-9]+$'; then
|
||||
if get_jail_name "${_TARGET}" > /dev/null; then
|
||||
_TARGET="$(get_jail_name ${_TARGET})"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user