diff --git a/entrypoint.sh b/entrypoint.sh index a249d469c9..e64580137f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,7 @@ NOUSER=`id -u bitwarden > /dev/null 2>&1; echo $?` LUID=${LOCAL_UID:-999} -if [[ $NOUSER == 0 && `id -u bitwarden` != $LUID ]] +if [ $NOUSER == 0 ] && [ `id -u bitwarden` != $LUID ] then usermod -u $LUID bitwarden elif [ $NOUSER == 1 ]