summaryrefslogtreecommitdiff
path: root/backflip
diff options
context:
space:
mode:
Diffstat (limited to 'backflip')
-rwxr-xr-xbackflip9
1 files changed, 9 insertions, 0 deletions
diff --git a/backflip b/backflip
index fd8e012..f9a6253 100755
--- a/backflip
+++ b/backflip
@@ -138,6 +138,11 @@ clean() {
echo -e "INTERACTIVE MODE COMMAND LINE TO REPRODUCE AND/OR FIX THE ISSUE:"
echo -e "$0 -v $VERSION -b $DEV_BRANCH -r $REF_BRANCH $RARGS"
echo -e "${lines}"
+
+ if ! $INTERACTIVE; then
+ exec 1>&3 2>&4
+ echo -e "Failed to backport rev $REV"
+ fi
fi
exit $1
}
@@ -164,6 +169,10 @@ if $INTERACTIVE; then
fi
fi
+if ! $INTERACTIVE; then
+ exec 3>&1 4>&2
+fi
+
# ==============================================================================
# Check that all the requested backports are available
# ==============================================================================