1
0
angie-conv-image/image-entry.d/02-detect-nonroot.envsh
2024-07-11 13:37:35 +03:00

7 lines
99 B
Bash
Executable File

#!/bin/sh
unset IEP_ROOT
IEP_ROOT=1
[ "$(stat -c %u /proc/1)" = 0 ] || IEP_ROOT=0
export IEP_ROOT