]> git.proxmox.com Git - pve-docs.git/blobdiff - asciidoc-pve.in
Fixed some typos and slight language improvements
[pve-docs.git] / asciidoc-pve.in
index 70848ca79df250b98723b719b87f8e933cf79b7f..d1a754d5a0f5034d15e4f95a4287d4065b12c1c8 100644 (file)
@@ -146,7 +146,10 @@ sub replace_man_xref {
     die "xref: no text for man page link '$blockid'\n" if !$text;
 
     my $section = $fileinfo->{mansection}->{manvolnum}->{$link};
-    die "link target is not a manual page" if !defined($section);
+    if (!defined($section)) {
+       warn "link '$blockid' target '$link' is not a manual page, ignoring\n";
+       return "$text";
+    }
 
 
     if ($man_target eq 'html') {