#3414 new_motd task

Slash 2.5/3.0
open
5
2005-09-15
2005-09-13
shane
No

the path to the fortune binary is hard-coded into the task:

return unless -x '/usr/local/games/fortune';
chomp(my $t = `/usr/local/games/fortune -s`);

Discussion

  • Jamie McCarthy
    Jamie McCarthy
    2005-09-15

    Logged In: YES
    user_id=3889

    Yeah, should be a var, and if the var is just 'fortune' then just plain old use
    $ENV{PATH} I guess

     
  • Jamie McCarthy
    Jamie McCarthy
    2005-09-15

    • assigned_to: nobody --> cowboyneal