summaryrefslogtreecommitdiff
path: root/makediffhtml.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-12-23 19:26:49 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-12-23 19:26:49 +0000
commit3c9def2db8a414a427fc06171a7c932831720dfb (patch)
tree26158eac72448cde86d5caabac4570986b5bc631 /makediffhtml.sh
parent9b202acca2f6569c4ad5dcf709ec4c8335695b94 (diff)
makediff: exit on makediff.sh failure
Properly propagate errors from sub-scripts. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@461 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makediffhtml.sh')
-rwxr-xr-xmakediffhtml.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makediffhtml.sh b/makediffhtml.sh
index 15c4a30..f8f8783 100755
--- a/makediffhtml.sh
+++ b/makediffhtml.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-./makediff.sh virtio-html.tex
+./makediff.sh virtio-html.tex || exit 3
SPECDOC=${SPECDOC:-`cat REVISION`}
SPECDOC="${SPECDOC}-diff"