projects
/
pve-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b489b02
)
factor out cleanup method
author
Dietmar Maurer
<dietmar@proxmox.com>
Mon, 10 Oct 2016 08:18:56 +0000
(10:18 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Mon, 10 Oct 2016 08:18:56 +0000
(10:18 +0200)
asciidoc-pve.in
patch
|
blob
|
blame
|
history
diff --git
a/asciidoc-pve.in
b/asciidoc-pve.in
index 2e92c6c2f01710a93a54463547c273ac3a475c3c..0e17b7a39cdb4737ffc5a6cd83a2190f04a47722 100644
(file)
--- a/
asciidoc-pve.in
+++ b/
asciidoc-pve.in
@@
-61,6
+61,11
@@
sub pop_environment {
}
}
+sub cleanup {
+
+ # TODO: anything ?
+}
+
sub replace_wiki_xref {
my ($blockid, $text) = @_;
@@
-213,7
+218,7
@@
if ($clicmd eq 'compile-wiki') {
eval { compile_wiki(); };
my $err = $@;
- # cleanup
+ cleanup();
die $err if $err;