From c3d33696011ce55835ccad63d239cf8ed50953bc Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 27 Mar 2018 17:11:48 -0400 Subject: [PATCH] proper and syntax for entrypoint conditions --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a249d469c9b..e64580137f9 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 ]