diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-03-26 10:41:36 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-03-28 21:47:18 +0200 |
commit | 619f45e405c8525af36c8b860df263838a26ab6e (patch) | |
tree | 8cfe80e3e19527b694b18e8892887d1c45cf53e7 /eclass | |
parent | webapp.eclass: Use UID 0 instead of root (diff) | |
download | gentoo-619f45e405c8525af36c8b860df263838a26ab6e.tar.gz gentoo-619f45e405c8525af36c8b860df263838a26ab6e.tar.bz2 gentoo-619f45e405c8525af36c8b860df263838a26ab6e.zip |
fcaps.eclass: Use arithmetic test for UID
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/fcaps.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass index 8ed27429c938..d1860f5ac9a3 100644 --- a/eclass/fcaps.eclass +++ b/eclass/fcaps.eclass @@ -88,7 +88,7 @@ esac fcaps() { debug-print-function ${FUNCNAME} "$@" - if [[ ${EUID} != 0 ]] ; then + if [[ ${EUID} -ne 0 ]] ; then einfo "Insufficient privileges to execute ${FUNCNAME}, skipping." return 0 fi |