From 30f1dc6ae0b78c1b7a82e3f0d90735973ba73424 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 --- homelab/fighter/scripts/docker-stacks.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homelab/fighter/scripts/docker-stacks.sh b/homelab/fighter/scripts/docker-stacks.sh index 06193455..be783034 100644 --- a/homelab/fighter/scripts/docker-stacks.sh +++ b/homelab/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