mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Consistent syntax for subshell
This commit is contained in:
parent
0fba0da794
commit
f3212b3377
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue