X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpackage-listing.sh;fp=shell%2Fpackage-listing.sh;h=82ee902bffb424bd95997c6b6d635c8013b222a9;hb=2b3cda5089750601fada2c62cf8d2f5d8050f513;hp=b2afe33a4105ea758a4172cc63828ad2d196ea00;hpb=b94a82bd078988fbfb58496cb1ac835d48e5ec6e;p=releng%2Fglobal-jjb.git diff --git a/shell/package-listing.sh b/shell/package-listing.sh index b2afe33a..82ee902b 100644 --- a/shell/package-listing.sh +++ b/shell/package-listing.sh @@ -49,7 +49,8 @@ esac if ( [ -f "${START_PACKAGES}" ] && [ -f "${END_PACKAGES}" ] ) then - diff "${START_PACKAGES}" "${END_PACKAGES}" > "${DIFF_PACKAGES}" + # ` || true` Ignore exit code because diff exits 1 when there is a diff + diff "${START_PACKAGES}" "${END_PACKAGES}" > "${DIFF_PACKAGES}" || true fi # If running in a Jenkins job, then copy the created files to the archives