Return the success check for pod2rst in write-user-docs

This commit is contained in:
Brian Fraser
2012-11-29 15:45:26 -03:00
parent 71edacd9da
commit 611e5b6eec

View File

@@ -72,7 +72,11 @@ write_rst() {
fi
$BRANCH/util/pod2rst-fixed $file > $RST_DIR/$tool.rst
if [ $? -eq 0 ]; then
echo "Wrote $RST_DIR/$tool.rst"
else
die "Error writing $RST_DIR/tool.rst"
fi
}
# Parse the head1 sections from percona-toolkit.pod and write them as