commit | 74f0355d8a0be644451ab2de460537bcae1de4c7 | [log] [tgz] |
---|---|---|
author | Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> | Fri Oct 12 20:56:43 2018 +0530 |
committer | Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> | Fri Oct 12 20:56:43 2018 +0530 |
tree | 79b601203f717458c61e0ac5f1bce6aa874e2370 | |
parent | ca041d88f4d610332aa48c801342edfafb622ccb [diff] |
Replace `whoami` with a more generic command In our docker environment, the normal user does not have a name. This results in the `whoami` command to fail which expects a name to print Replace `whoami` with `id -u`, which print print the numeric id I have no name!@7427761b8f4c:/tmp/d$ whoami whoami: cannot find name for user ID 1000 I have no name!@7427761b8f4c:/tmp/d$ id uid=1000 gid=0(root) groups=0(root) Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>