commit:     619f45e405c8525af36c8b860df263838a26ab6e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 09:41:36 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 28 19:47:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619f45e4

fcaps.eclass: Use arithmetic test for UID

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/fcaps.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to