summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/fcaps.eclass2
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