1
0

image-entry: fix user detection

fixes 86af6345
This commit is contained in:
Konstantin Demin 2024-09-30 21:43:24 +03:00
parent 921dd8fe9f
commit ab3ec5752b
Signed by: krd
GPG Key ID: 4D56F87A8BA65FD0

View File

@ -3,5 +3,5 @@
unset IEP_ROOT unset IEP_ROOT
IEP_ROOT=1 IEP_ROOT=1
# [ "$(env stat -Lc %u /proc/$$)" = 0 ] || IEP_ROOT=0 # [ "$(env stat -Lc %u /proc/$$)" = 0 ] || IEP_ROOT=0
[ "$(id -n)" = 0 ] || IEP_ROOT=0 [ "$(id -u)" = 0 ] || IEP_ROOT=0
export IEP_ROOT export IEP_ROOT