mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
fix syntax for entrypoint ands
This commit is contained in:
parent
2b6e702666
commit
2c2496d28f
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user