1
0
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:
Kyle Spearrin 2018-03-27 17:11:48 -04:00
parent 3c5022d628
commit c3d3369601

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 ]