1
0
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:
Kyle Spearrin 2018-03-27 17:16:25 -04:00
parent 2b6e702666
commit 2c2496d28f
8 changed files with 8 additions and 8 deletions

View File

@ -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 ]

View File

@ -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 ]

View File

@ -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 ]

View File

@ -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 ]

View File

@ -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 ]

View File

@ -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 ]

View File

@ -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 ]

View File

@ -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 ]