Skip to content

Commit

Permalink
Update run
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Dec 11, 2023
1 parent a441e95 commit 484cdae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portainer/rootfs/etc/services.d/portainer/run
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ fi

# Set password
CURRENTPASSWORD=""
PASSWORD=$(bashio::config 'password')
PASSWORD="$(bashio::config 'password')"
if ! bashio::config.has_value 'password'; then
PASSWORD="empty"
fi
touch "/data/portainer_password"
CURRENTPASSWORD=$( cat /data/portainer_password )
CURRENTPASSWORD="$( cat /data/portainer_password )"

# Reset password if not first run
if bashio::fs.file_exists "/data/hidden"; then
Expand Down

0 comments on commit 484cdae

Please sign in to comment.