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

8 lines
140 B
Bash
Executable File

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