Try full path for fortune
command
This commit is contained in:
parent
f8f919dc37
commit
b89af7fc4c
|
@ -12,7 +12,7 @@ use Number::Format qw{format_number};
|
||||||
# The main landing page; pass in the output of the fortune command
|
# The main landing page; pass in the output of the fortune command
|
||||||
get '/' => sub {
|
get '/' => sub {
|
||||||
my ($c) = @_;
|
my ($c) = @_;
|
||||||
my $fortune = `fortune` || "huh?? no fortune for u\n";
|
my $fortune = `/usr/games/fortune` || `fortune` || "huh??\n";
|
||||||
my ($count, %serverSide);
|
my ($count, %serverSide);
|
||||||
|
|
||||||
# Visitor counter ala the ol' count.cgi script
|
# Visitor counter ala the ol' count.cgi script
|
||||||
|
|
Loading…
Reference in New Issue
Block a user