1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-10-16 13:50:46 +00:00

Compare commits

..

2 commits

Author SHA1 Message Date
github-actions[bot]
cd08ed4199
Merge 568228f19d into 1c47b76be2 2024-10-06 01:55:01 +00:00
fredclausen
568228f19d [create-pull-request] automated change 2024-10-06 01:54:59 +00:00
2 changed files with 3 additions and 6 deletions

View file

@ -41,7 +41,7 @@ repos:
- id: shellcheck
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.29.4
rev: 0.29.3
hooks:
- id: check-github-actions
- id: check-github-workflows
@ -54,7 +54,7 @@ repos:
# lint python formatting
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 24.8.0
hooks:
- id: black

View file

@ -239,10 +239,7 @@ do
MLAT_PARAM+=(--input-connect "${input_connect_arg:-localhost:30005}")
if [[ -n "${name_arg}" ]] || [[ -n "${MLAT_USER}" ]]; then
# remove spaces from mlat name to avoid startup errors
# the readme already says not to put spaces but like this mlat will work even with space
name=$( sed -e 's/ /_/g' <<< "${name_arg:-${MLAT_USER}}")
MLAT_PARAM+=(--user "${name}")
MLAT_PARAM+=(--user \""${name_arg:-${MLAT_USER}}"\")
else
rnd="${RANDOM}"
"${s6wrap[@]}" --args echo "WARNING: MLAT_USER is not set - using random number \"${rnd}\" as MLAT_USER"