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:
parent
db39d58ea8
commit
dba596bf35
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user