summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 92f8ca1e9..40c788a88 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1217,7 +1217,8 @@ inherit() {
shift
done
- ((--ECLASS_DEPTH))
+ ((--ECLASS_DEPTH)) # Returns 1 when ECLASS_DEPTH reaches 0.
+ return 0
}
# Exports stub functions that call the eclass's functions, thereby making them default.