]> git.proxmox.com Git - pve-docs.git/commitdiff
factor out cleanup method
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 10 Oct 2016 08:18:56 +0000 (10:18 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 10 Oct 2016 08:18:56 +0000 (10:18 +0200)
asciidoc-pve.in

index 2e92c6c2f01710a93a54463547c273ac3a475c3c..0e17b7a39cdb4737ffc5a6cd83a2190f04a47722 100644 (file)
@@ -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;