From 34e1d22e7489fa1d2381d6c7d59cb96c3ab0d1cd Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 10 Oct 2023 15:53:32 -0700 Subject: [PATCH] Iterate on docker-stacks --- fighter/scripts/docker-stacks.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fighter/scripts/docker-stacks.sh b/fighter/scripts/docker-stacks.sh index 0619345..be78303 100644 --- a/fighter/scripts/docker-stacks.sh +++ b/fighter/scripts/docker-stacks.sh @@ -36,6 +36,11 @@ function main { esac done + if [ ! $COMMAND ]; then + echo "Error: no command specified" + exit 1 + fi + for stack in "$STACKS_DIRECTORY"/* ; do cd $stack if [ $NAS_ONLY ] || [ $LINT ]; then