Skip to content

Commit

Permalink
Merge pull request #41 from smkent/entrypoint-verbosity
Browse files Browse the repository at this point in the history
Move entrypoint shell verbosity increase to after JMAP token discovery
  • Loading branch information
smkent authored Jan 2, 2023
2 parents f0878f0 + f161bbf commit 43a5f78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/entrypoint
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

set -ex
set -e

# Locate API token
if [ -n "${JMAP_API_TOKEN_FILE}" ] && [ -f "${JMAP_API_TOKEN_FILE}" ]; then
Expand All @@ -11,6 +11,8 @@ if [ -f "${JMAP_API_TOKEN}" ]; then
fi
export JMAP_API_TOKEN

set -x

waffles_args=
if [ -n "${WAFFLES_DRY_RUN}" ]; then
waffles_args="${waffles_args} --dry-run"
Expand Down

0 comments on commit 43a5f78

Please sign in to comment.