summaryrefslogtreecommitdiffstats
path: root/scripts/apatch.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/apatch.in')
-rwxr-xr-xscripts/apatch.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/apatch.in b/scripts/apatch.in
index 511f878..034773e 100755
--- a/scripts/apatch.in
+++ b/scripts/apatch.in
@@ -78,7 +78,8 @@ apply_patch()
# The reject files are removed in rollback_patch.
echo "$output" \
| sed -e 's/-- saving rejects to file \(.\+\)\.rej/-- rejects in file \1/'
- else
+ elif [ -n "$output" ]
+ then
echo "$output"
fi
return $status