diff --git a/portainer/rootfs/etc/services.d/portainer/run b/portainer/rootfs/etc/services.d/portainer/run index 5e3e5337a..7b07d968a 100644 --- a/portainer/rootfs/etc/services.d/portainer/run +++ b/portainer/rootfs/etc/services.d/portainer/run @@ -21,7 +21,7 @@ PASSWORD=$(bashio::config 'password') touch "/data/portainer_password" CURRENTPASSWORD=$( cat /data/portainer_password ) -if [ $CURRENTPASSWORD != $PASSWORD ]; then +if [ $CURRENTPASSWORD !== $PASSWORD ]; then rm /data/portainer.db bashio::log.warning "... password changed, database reseted" fi