kickstart-static64.sh set UID when it is missing; fixes #3840
Costa Tsaousis (ktsaou) committed
Jun 21, 2018 at 21:54 UTC
c060384e8721a9c0f472ce8ba2691987bdbda90e
1 file changed
+3
kickstart-static64.sh
+3
@@ -3,6 +3,9 @@
3
4
umask 022
5
6
+# make sure UID is set
7
+[ -z "${UID}" ] && export UID="$(id -u)"
8
+
9
# ---------------------------------------------------------------------------------------------------------------------
10
# library functions copied from installer/functions.sh
11