diff options
Diffstat (limited to 'eclass/acct-group.eclass')
-rw-r--r-- | eclass/acct-group.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass index 590a2f20ed8e..f55c9f4c9587 100644 --- a/eclass/acct-group.eclass +++ b/eclass/acct-group.eclass @@ -157,7 +157,7 @@ acct-group_src_install() { acct-group_pkg_preinst() { debug-print-function ${FUNCNAME} "${@}" - if [[ ${EUID} -ne 0 ]]; then + if [[ ${EUID} -ne 0 || -n ${EPREFIX} ]]; then einfo "Insufficient privileges to execute ${FUNCNAME[0]}" return fi |