From 17d8be0cbf76bc2b4b82295a9c3d548a460caa72 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 10 Oct 2016 10:18:56 +0200 Subject: [PATCH 1/1] factor out cleanup method --- asciidoc-pve.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/asciidoc-pve.in b/asciidoc-pve.in index 2e92c6c..0e17b7a 100644 --- 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; -- 2.39.2