summaryrefslogtreecommitdiffstats
path: root/quilt
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-03-10 09:56:50 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-03-10 09:56:50 +0000
commita9126ce255fb0dadb8204ecbc6fe1b3145e25d52 (patch)
tree8fc917f4f0343e2343925f841c5036e70d12f1ed /quilt
parent7b3e36489996c66c1a42a7216c5f1cf2e7f7c451 (diff)
downloadquilt-a9126ce255fb0dadb8204ecbc6fe1b3145e25d52.tar.gz
- Quilt push/pop: exit with a non-zero status when beyond series.
- Ignore empty lines in series file.
Diffstat (limited to 'quilt')
-rw-r--r--quilt/pop.in2
-rw-r--r--quilt/push.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/quilt/pop.in b/quilt/pop.in
index 0a08f89..fdc10dd 100644
--- a/quilt/pop.in
+++ b/quilt/pop.in
@@ -155,7 +155,7 @@ then
elif [ -z "$patches" ]
then
echo $"No patch removed"
- exit 0
+ exit 1
fi
trap "interrupted=1" SIGINT
diff --git a/quilt/push.in b/quilt/push.in
index 4202f59..87b9678 100644
--- a/quilt/push.in
+++ b/quilt/push.in
@@ -186,7 +186,7 @@ Please pop -f the top patch and check your series file."
else
echo $"File series fully applied, ends at patch $top"
fi
- exit 0
+ exit 1
fi
trap "interrupted=1" SIGINT