Skip to content

Commit 5a944b5

Browse files
Nemo157Joshua Nelson
authored andcommitted
Only set RUST_LOG in docker if it's unset
1 parent 8fb139b commit 5a944b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euv
44

55
export CRATESFYI_PREFIX=/opt/docsrs/prefix
66
export DOCS_RS_DOCKER=true
7-
export RUST_LOG=cratesfyi,rustwide=info
7+
export RUST_LOG=${RUST_LOG-cratesfyi,rustwide=info}
88
export PATH="$PATH:/build/target/release"
99

1010
# Try migrating the database multiple times if it fails

0 commit comments

Comments
 (0)