Skip to content

Commit

Permalink
Undo restoring ARGV since Net::Server could do funky things.
Browse files Browse the repository at this point in the history
It was meant to be used for HUP based restarts, but that is not
supported right now and this chunk of code is unnecessary. Fix #57
  • Loading branch information
miyagawa committed Dec 18, 2012
1 parent 35434f3 commit 6d7e70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Starman/Server.pm
Expand Up @@ -62,7 +62,7 @@ sub run {
}

my $workers = $options->{workers} || 5;
local @ARGV = (@{$options->{argv} || []});
local @ARGV = ();

$self->SUPER::run(
port => $port,
Expand Down

0 comments on commit 6d7e70d

Please sign in to comment.