From 4b245fe6356ee690b5e230141106a63860e54281 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Apr 2009 07:23:16 +0000 Subject: [PATCH] Use ret|=1 instead of ++ret, to avoid possible overflow. (trunk r13383) svn path=/main/branches/2.1.6/; revision=13535 --- bin/ebuild-helpers/3/dodoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2