diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-06-21 21:54:41 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-06-21 21:54:41 +0300 |
commit | c060384e8721a9c0f472ce8ba2691987bdbda90e (patch) | |
tree | 4be7a72a0e1cff425c328bbd635bba9218aebe8b /kickstart-static64.sh | |
parent | 380aac8dcdd4028524664ec12f5cf6c8d2d6bae2 (diff) |
kickstart-static64.sh set UID when it is missing; fixes #3840
Diffstat (limited to 'kickstart-static64.sh')
-rwxr-xr-x | kickstart-static64.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kickstart-static64.sh b/kickstart-static64.sh index cc58a05dea..c9fb6600cb 100755 --- a/kickstart-static64.sh +++ b/kickstart-static64.sh @@ -3,6 +3,9 @@ umask 022 +# make sure UID is set +[ -z "${UID}" ] && export UID="$(id -u)" + # --------------------------------------------------------------------------------------------------------------------- # library functions copied from installer/functions.sh |