mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2025-02-16 16:34:28 +01:00
minor cleanup
This commit is contained in:
parent
93ef5ab79f
commit
87ed358608
1 changed files with 0 additions and 2 deletions
|
@ -307,12 +307,10 @@ fi
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
# Handle --write-prom=<filepath>
|
# Handle --write-prom=<filepath>
|
||||||
|
|
||||||
if [[ -n "$PROMETHEUS_ENABLE" ]]; then
|
if [[ -n "$PROMETHEUS_ENABLE" ]]; then
|
||||||
READSB_CMD+=("--write-prom=/run/readsb-prometheus.prom")
|
READSB_CMD+=("--write-prom=/run/readsb-prometheus.prom")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
if [[ -z "${LOGLEVEL}" ]] || [[ "${LOGLEVEL,,}" == "verbose" ]]; then
|
if [[ -z "${LOGLEVEL}" ]] || [[ "${LOGLEVEL,,}" == "verbose" ]]; then
|
||||||
"${READSB_BIN}" "${READSB_CMD[@]}" $READSB_EXTRA_ARGS 2>&1 | \
|
"${READSB_BIN}" "${READSB_CMD[@]}" $READSB_EXTRA_ARGS 2>&1 | \
|
||||||
|
|
Loading…
Reference in a new issue