mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 10:55:01 +00:00
Removed indirect object syntax from the modulino portion of pt-fifo-split
This commit is contained in:
@@ -1241,7 +1241,7 @@ sub main {
|
|||||||
# ########################################################################
|
# ########################################################################
|
||||||
# Get configuration information.
|
# Get configuration information.
|
||||||
# ########################################################################
|
# ########################################################################
|
||||||
my $o = new OptionParser();
|
my $o = OptionParser->new();
|
||||||
$o->get_specs();
|
$o->get_specs();
|
||||||
$o->get_opts();
|
$o->get_opts();
|
||||||
|
|
||||||
@@ -1258,7 +1258,7 @@ sub main {
|
|||||||
# We're not daemoninzing, it just handles PID stuff. Keep $daemon
|
# We're not daemoninzing, it just handles PID stuff. Keep $daemon
|
||||||
# in the the scope of main() because when it's destroyed it automatically
|
# in the the scope of main() because when it's destroyed it automatically
|
||||||
# removes the PID file.
|
# removes the PID file.
|
||||||
$daemon = new Daemon(o=>$o);
|
$daemon = Daemon->new(o=>$o);
|
||||||
$daemon->make_PID_file();
|
$daemon->make_PID_file();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user