Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* cgi-fcgi-interp: correct the copyright header rubric.
* nntpid: install in /usr/bin. Closes:#773651.
* rebuild on current sid: Closes:#811216.
+ * cvs-adjustroot: properly exit nonzero in case of error.
+ Fixes the first half of #839708.
--
exit 0
fi
-find -path '*/CVS/Root' -exec cvs-adjustroot --reinvoke "$old" "$new" '{}' ';'
+# GNU find provides + exec variants which set exit status and pass
+# multiple arguments, or \; variants which pass one argument but do
+# not set exit status. So use a separate -exec false + to arrange for
+# nonzero exit status when appropriate.
+
+find -path '*/CVS/Root' \
+ \( -exec cvs-adjustroot --reinvoke "$old" "$new" '{}' ';' \
+ -o -exec false '{}' + \
+ \)