osmo-release.sh: Fix rc!=0 on TODO-RELEASE file without comment lines

Change-Id: Iff09a090284a0f65fd798d99265cba51f3309923
This commit is contained in:
Pau Espin 2021-02-23 14:31:11 +01:00
parent f286fdc87e
commit 181578355b
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ fi
set -e
if [ -f "TODO-RELEASE" ]; then
grep '#' TODO-RELEASE > TODO-RELEASE.clean
grep '#' TODO-RELEASE > TODO-RELEASE.clean || true
mv TODO-RELEASE.clean TODO-RELEASE
git add TODO-RELEASE
fi