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