Skip to content

Commit

Permalink
Item9957: fixed use of uninitialized value
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FastCGIEngineContrib@9866 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Nov 4, 2010
1 parent 61d540c commit e0e20ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/foswiki.fcgi
Expand Up @@ -59,7 +59,9 @@ GetOptions(
pod2usage(1) if $help;

# untaint
$pidfile =~ /^(.*)$/ and $pidfile = $1;
if (defined $pidfile) {
$pidfile =~ /^(.*)$/ and $pidfile = $1;
}

@ARGV = @argv;
undef @argv;
Expand Down

0 comments on commit e0e20ee

Please sign in to comment.