Merge pull request #1013 from BastilleBSD/tschettervictor-patch-1

bastille: Fix commands when --delay is specified
This commit is contained in:
tschettervictor
2025-05-03 18:23:04 -06:00
committed by GitHub

View File

@@ -244,6 +244,10 @@ case "${CMD}" in
OPTIONS=""
while [ "$#" -gt 0 ] && [ "${PARALLEL_MODE}" -eq 1 ]; do
case "${1}" in
-d|--delay)
OPTIONS="${OPTIONS} ${1} ${2}"
shift 2
;;
-*)
OPTIONS="${OPTIONS} ${1}"
shift 1