Permit Snap RUST_LOG to be overridden

This commit is contained in:
Michael Vines
2018-07-16 17:38:51 -07:00
parent 0d85b43901
commit f6eb85e7a3

View File

@ -24,6 +24,7 @@ if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap?
rsync="$SNAP"/bin/rsync rsync="$SNAP"/bin/rsync
SOLANA_METRICS_CONFIG="$(snapctl get metrics-config)" SOLANA_METRICS_CONFIG="$(snapctl get metrics-config)"
SOLANA_CUDA="$(snapctl get enable-cuda)" SOLANA_CUDA="$(snapctl get enable-cuda)"
RUST_LOG="$(snapctl get rust-log)"
elif [[ -n "$USE_SNAP" ]]; then # Use the Linux Snap binaries elif [[ -n "$USE_SNAP" ]]; then # Use the Linux Snap binaries
solana_program() { solana_program() {