Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions usr/local/share/bastille/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,16 @@ for jail in ${JAILS}; do
args=$(echo "${line}" | awk -F '[ ]' '{$1=""; sub(/^ */, ""); print;}' | eval "sed ${ARG_REPLACEMENTS}")

# Skip any args that don't have a value
SKIP_ARG=0
for arg in ${SKIP_ARGS}; do
if echo "${line}" | grep -qo "\${${arg}}"; then
SKIP_ARG=1
continue
fi
done
if [ "${SKIP_ARG}" -eq 1 ]; then
continue
fi

# Apply overrides for commands/aliases and arguments. -- cwells
case $cmd in
Expand Down