summaryrefslogtreecommitdiffstats
path: root/quilt/push.in
diff options
context:
space:
mode:
Diffstat (limited to 'quilt/push.in')
-rw-r--r--quilt/push.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/quilt/push.in b/quilt/push.in
index ae360a5..2705075 100644
--- a/quilt/push.in
+++ b/quilt/push.in
@@ -177,6 +177,7 @@ then
if [ -z "$top" ]
then
echo $"No patches applied"
+ exit 2
elif [ -z "$(patch_file_name $top)" ]
then
echo -e \
@@ -187,8 +188,8 @@ Please pop -f the top patch and check your series file."
else
echo $"File series fully applied, ends at patch $top"
+ exit 2
fi
- exit 1
fi
trap "interrupted=1" SIGINT