summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ebuild-helpers/3/dodoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/3/dodoc b/bin/ebuild-helpers/3/dodoc
index f8aeaf763..4e7c934ab 100644
--- a/bin/ebuild-helpers/3/dodoc
+++ b/bin/ebuild-helpers/3/dodoc
@@ -42,7 +42,7 @@ for x in "$@" ; do
elif [ ! -e "${x}" ] ; then
echo "!!! ${0##*/}: $x does not exist" 1>&2
- ((++ret))
+ ((ret|=1))
fi
done