From f3212b3377d20f9bf81e989d4bec8f6dffa479fb Mon Sep 17 00:00:00 2001 From: Adrian Dvergsdal Date: Fri, 13 Oct 2017 23:39:04 +0200 Subject: [PATCH] Consistent syntax for subshell --- entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint b/entrypoint index 03eb959..e5f2601 100755 --- a/entrypoint +++ b/entrypoint @@ -77,7 +77,7 @@ function createUser() { # Retrieving user id to use it in chown commands instead of the user name # to avoid problems on alpine when the user name contains a '.' - uid=`id $user -u` + uid="$(id -u $user)" if [ -n "$pass" ]; then echo "$user:$pass" | chpasswd $chpasswdOptions