1
0
angie-conv-image/image-entry.d/02-detect-nonroot.envsh

7 lines
99 B
Plaintext
Raw Normal View History

2024-07-11 13:37:35 +03:00
#!/bin/sh
unset IEP_ROOT
IEP_ROOT=1
[ "$(stat -c %u /proc/1)" = 0 ] || IEP_ROOT=0
export IEP_ROOT