From ab3ec5752b5f4634a5cba9fd797677a00c910544 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Mon, 30 Sep 2024 21:43:24 +0300 Subject: [PATCH] image-entry: fix user detection fixes 86af6345 --- image-entry.d/02-nonroot.envsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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