Skip to content

Commit

Permalink
redact email, key, password from run.sh output
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Jan 5, 2024
1 parent 8f26cf8 commit e31dd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if bashio::config.has_value scan ; then
export GOVEE_LAN_SCAN="$(bashio::config scan)"
fi

env | grep GOVEE_ | grep -v PASSWORD
env | grep GOVEE_ | sed -r 's/_(EMAIL|KEY|PASSWORD)=.*/_\1=REDACTED/'
set -x

cd /app
Expand Down

0 comments on commit e31dd2b

Please sign in to comment.