Remove tabs

This commit is contained in:
Alexandre
2022-10-31 09:32:53 +01:00
parent e7ffdb5caa
commit ea550cb9df
4 changed files with 108 additions and 108 deletions

View File

@@ -42,11 +42,11 @@ CURRENTPASSWORD=$( cat /data/portainer_password )
# Reset password if not first run
if bashio::fs.file_exists "/data/hidden"; then
if [ "$CURRENTPASSWORD" != "$PASSWORD" ]; then
mv -f /data/portainer.db /data/portainer.old || true
rm /data/hidden || true
bashio::log.warning "... password changed, database reseted. Previous version stored in /data/portainer.old"
fi
if [ "$CURRENTPASSWORD" != "$PASSWORD" ]; then
mv -f /data/portainer.db /data/portainer.old || true
rm /data/hidden || true
bashio::log.warning "... password changed, database reseted. Previous version stored in /data/portainer.old"
fi
fi
# Define option