mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
proper and syntax for entrypoint conditions
This commit is contained in:
parent
3c5022d628
commit
c3d3369601
@ -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…
Reference in New Issue
Block a user