diff --git a/vim-update.sh b/vim-update.sh index ff15a03..a0330dd 100755 --- a/vim-update.sh +++ b/vim-update.sh @@ -79,7 +79,7 @@ if [ $CHANGES -ne 0 ]; then fi # push $debug fedpkg push - if [ $? -eq 0 ]; then + if [ $? -ne 0 ]; then echo "Error: fedpkg push" exit 1 fi diff --git a/vim.spec b/vim.spec index 13f5c35..89307c9 100644 --- a/vim.spec +++ b/vim.spec @@ -771,6 +771,7 @@ rm -rf %{buildroot} %changelog * Tue Sep 12 2017 Karsten Hopp 8.0.1097-1 - patchlevel 1097 +- editing vim-update.sh - wrong condition for checking fedkpg push return value * Mon Sep 11 2017 Karsten Hopp 8.0.1092-1 - editing vim-update.sh for building package