From f32d0441063b67cb846d08760a6a797e2a1ea07a Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 23 Nov 2017 13:06:03 +0100 Subject: gbp-try-ff: fail on uscan problems Gbp-Dch: Ignore --- examples/gbp-try-ff | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/gbp-try-ff b/examples/gbp-try-ff index 5f14b44b..627ba643 100755 --- a/examples/gbp-try-ff +++ b/examples/gbp-try-ff @@ -14,8 +14,12 @@ set +e gbp import-orig --uscan --no-interactive --no-pristine-tar ret=$? set -e +# no new version found if [ $ret = 4 ]; then exit 0 +# all other errors +elif [ $ret != 0 ]; then + exit $ret fi if ! gbp pq rebase; then -- cgit v1.2.3