Permalink
Browse files

Undo restoring ARGV since Net::Server could do funky things.

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...
1 parent 35434f3 commit 6d7e70d58ae1cb47cb0d9d998daa5b06384464da @miyagawa committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Starman/Server.pm
View
@@ -62,7 +62,7 @@ sub run {
}
my $workers = $options->{workers} || 5;
- local @ARGV = (@{$options->{argv} || []});
+ local @ARGV = ();
$self->SUPER::run(
port => $port,

0 comments on commit 6d7e70d

Please sign in to comment.