diff --git a/image-entry.d/02-nonroot.envsh b/image-entry.d/02-nonroot.envsh index aadf2f0..e9ecbb7 100755 --- a/image-entry.d/02-nonroot.envsh +++ b/image-entry.d/02-nonroot.envsh @@ -3,5 +3,5 @@ unset IEP_ROOT IEP_ROOT=1 # [ "$(env stat -Lc %u /proc/$$)" = 0 ] || IEP_ROOT=0 -[ "$(id -n)" = 0 ] || IEP_ROOT=0 +[ "$(id -u)" = 0 ] || IEP_ROOT=0 export IEP_ROOT