mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
proper and syntax for entrypoint conditions
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOUSER=`id -u bitwarden > /dev/null 2>&1; echo $?`
|
NOUSER=`id -u bitwarden > /dev/null 2>&1; echo $?`
|
||||||
LUID=${LOCAL_UID:-999}
|
LUID=${LOCAL_UID:-999}
|
||||||
if [[ $NOUSER == 0 && `id -u bitwarden` != $LUID ]]
|
if [ $NOUSER == 0 ] && [ `id -u bitwarden` != $LUID ]
|
||||||
then
|
then
|
||||||
usermod -u $LUID bitwarden
|
usermod -u $LUID bitwarden
|
||||||
elif [ $NOUSER == 1 ]
|
elif [ $NOUSER == 1 ]
|
||||||
|
|||||||
Reference in New Issue
Block a user