Skip to content

Commit

Permalink
make the pid check work on weird systems like win32
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Jan 15, 2010
1 parent dafbf26 commit 99f131f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Plack/Server/Shotgun.pm
Expand Up @@ -23,7 +23,7 @@ sub _app {
pipe my $read, my $write;

my $pid = fork;
if ($pid > 0) {
if ($pid) {
# parent
close $write;
my $res = Storable::thaw(join '', <$read>);
Expand Down

0 comments on commit 99f131f

Please sign in to comment.