summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki4
1 files changed, 1 insertions, 3 deletions
diff --git a/ikiwiki b/ikiwiki
index cfc963c12..6a1eb0e29 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -669,7 +669,7 @@ sub cgi_recentchanges () { #{{{
wikiname => $wikiname,
changelog => [rcs_recentchanges(100)],
);
- return $template->output;
+ print $template->output;
} #}}}
sub cgi_signin ($$) { #{{{
@@ -940,8 +940,6 @@ usage() unless @ARGV == 3;
($templatedir) = possibly_foolish_untaint(shift);
($destdir) = possibly_foolish_untaint(shift);
-print cgi_recentchanges();
-
if ($cgi && ! length $url) {
error("Must specify url to wiki with --url when using --cgi");
}