diff options
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/fortune.pm | 2 | ||||
-rw-r--r-- | IkiWiki/Rcs/svn.pm | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/fortune.pm b/IkiWiki/Plugin/fortune.pm index 43f4526af..4ff343e3a 100644 --- a/IkiWiki/Plugin/fortune.pm +++ b/IkiWiki/Plugin/fortune.pm @@ -12,7 +12,7 @@ sub import { #{{{ sub preprocess (@) { #{{{ $ENV{PATH}="$ENV{PATH}:/usr/games:/usr/local/games"; - my $f = `fortune`; + my $f = `fortune 2>/dev/null`; if ($?) { return "[[fortune failed]]"; diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm index 597295d44..848dfac3a 100644 --- a/IkiWiki/Rcs/svn.pm +++ b/IkiWiki/Rcs/svn.pm @@ -131,7 +131,6 @@ sub rcs_recentchanges ($) { #{{{ eval q{ use Date::Parse; - use Time::Duration; use XML::SAX; use XML::Simple; }; |