projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Migrate everything else via prefix_directives
[ikiwiki.git]
/
ikiwiki.in
diff --git
a/ikiwiki.in
b/ikiwiki.in
index e0a59182422ae0d2aaa1b69d15fa3463f144d9c8..3bb881c4320f246b1edd4f9af80014149036d9e4 100755
(executable)
--- a/
ikiwiki.in
+++ b/
ikiwiki.in
@@
-123,7
+123,10
@@
sub main () { #{{{
}
elsif ($config{cgi}) {
require IkiWiki::CGI;
- cgi();
+ eval {cgi()};
+ if ($@) {
+ cgierror($@);
+ }
}
elsif ($config{render}) {
require IkiWiki::Render;