diff --git a/www-swagg.pl b/www-swagg.pl index f36adc7..db20fa5 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -12,7 +12,7 @@ use Number::Format qw{format_number}; # The main landing page; pass in the output of the fortune command get '/' => sub { my ($c) = @_; - my $fortune = `fortune` || "huh?? no fortune for u\n"; + my $fortune = `/usr/games/fortune` || `fortune` || "huh??\n"; my ($count, %serverSide); # Visitor counter ala the ol' count.cgi script