1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00

fix if when no currentid

This commit is contained in:
Kyle Spearrin 2018-04-16 16:08:59 -04:00
parent db39d58ea8
commit dba596bf35

View File

@ -28,7 +28,7 @@ fi
if [ $CURRENTGID ]
then
if [ $CURRENTGID != $LGID ]
if [ "$CURRENTGID" != "$LGID" ]
then
groupmod -g $LGID $GROUPNAME
fi
@ -38,7 +38,7 @@ fi
# Create user and assign group
if [ $NOUSER == 0 ] && [ $CURRENTUID != $LUID ]
if [ $NOUSER == 0 ] && [ "$CURRENTUID" != "$LUID" ]
then
usermod -u $LUID $USERNAME
elif [ $NOUSER == 1 ]