@cryptotaxi247 / netdata-1 / commits / 8022f65e6

use id -u when UID is empty

Costa Tsaousis (ktsaou) committed Jun 18, 2017 at 17:08 UTC 8022f65e6347bb7cb4062121fdffc16ed557a56b
1 file changed +1
kickstart.sh
+1
@@ -25,6 +25,7 @@
25
26 umask 022
27
28 +[ -z "${UID}" ] && UID="$(id -u)"
29
30 # ---------------------------------------------------------------------------------------------------------------------
31 # library functions copied from installer/functions.sh