gitweb: fix disabling of "forks"
commit5dd5ed09fe6b5508cf29dd1dbf40bea2f0d16ad3
authorJunio C Hamano <junkio@cox.net>
Wed, 8 Nov 2006 06:00:45 +0000 (7 22:00 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 8 Nov 2006 06:00:45 +0000 (7 22:00 -0800)
tree5a3af0ce41134db7cb82d183812b142711da91ce
parentbaf0bfcb4b335438e9359835f2c27cccf20e54a3
gitweb: fix disabling of "forks"

Apparently this code was never tested without "forks".  check-feature
returns a one-element list (0) when disabled, and assigning that to a
scalar variable made it to be called in a scalar context, which meant
my $check_forks = gitweb_check_feature("forks") were always 1!

Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl