Browse Source

proper and syntax for entrypoint conditions

pull/208/head
Kyle Spearrin 8 years ago
parent
commit
c3d3369601
  1. 2
      entrypoint.sh

2
entrypoint.sh

@ -2,7 +2,7 @@ @@ -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…
Cancel
Save