diff options
author | Graham Christensen <graham@grahamc.com> | 2018-03-30T17·57-0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2018-03-30T17·57-0400 |
commit | 4eb40c72ed21aa4b118811a1c099a5c0dd231145 (patch) | |
tree | d059cf677e4f909da944bb142a73a6d9c4dacea7 /scripts/install-multi-user.sh | |
parent | f06f8102bdb7c486d1b4723865988dded5575dad (diff) |
macos: Handle when a build user doesn't have a user ID
Diffstat (limited to 'scripts/install-multi-user.sh')
-rw-r--r-- | scripts/install-multi-user.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index 8a1548a3ce22..5f6542355e0c 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -453,10 +453,10 @@ create_build_user_for_core() { row " Created" "Yes" else actual_uid=$(poly_user_id_get "$username") - if [ "$actual_uid" -ne "$uid" ]; then + if [ "$actual_uid" != "$uid" ]; then failure <<EOF It seems the build user $username already exists, but with the UID -with the UID $actual_uid. This script can't really handle that right +with the UID '$actual_uid'. This script can't really handle that right now, so I'm going to give up. If you already created the users and you know they start from |