summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-28 16:58:00 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-28 16:58:00 +0000
commit024fc7d765b079c892941a8cd173f0c0a68b7acb (patch)
tree3d628d041b415f08626fb627c2acba42f8b2310d
parent8cead901a886e1113b403ff5c6f437f9a717e41a (diff)
downloaddrakx-024fc7d765b079c892941a8cd173f0c0a68b7acb.tar
drakx-024fc7d765b079c892941a8cd173f0c0a68b7acb.tar.gz
drakx-024fc7d765b079c892941a8cd173f0c0a68b7acb.tar.bz2
drakx-024fc7d765b079c892941a8cd173f0c0a68b7acb.tar.xz
drakx-024fc7d765b079c892941a8cd173f0c0a68b7acb.zip
recycle object earlier
also we do now that we're not in installer
-rwxr-xr-xperl-install/standalone/logdrake3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index c24a8caa3..145a38e74 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -44,8 +44,7 @@ foreach (@ARGV) {
/^--alert$/ and do { alert_config(); quit() };
}
-my $do_pkgs = do_pkgs::do_pkgs($in);
-$do_pkgs->ensure_is_installed("syslog-daemon") or exit(0);
+do_pkgs_standalone->new($in)->ensure_is_installed("syslog-daemon") or exit(0);
my $isTail = $isFile;
$| = 1 if $isTail;