summaryrefslogtreecommitdiffstats
path: root/lib/patchfns.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/patchfns.in')
-rw-r--r--lib/patchfns.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/patchfns.in b/lib/patchfns.in
index b6dd5cf..f30ea13 100644
--- a/lib/patchfns.in
+++ b/lib/patchfns.in
@@ -582,7 +582,7 @@ patch_description()
{
local patch_file=$1
- if [ -e "$patch_file" ]
+ if [ -e "$patch_file" -o -z "$patch_file" ]
then
awk '
$1 == "---" { exit }